1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-11-28 05:24:10 +01:00

Revert breaking change in test class mistakenly merged

This commit is contained in:
rlanvin 2022-08-21 11:08:21 +02:00
parent dbeabe3e2f
commit bfb494a64d
2 changed files with 10 additions and 3 deletions

View File

@ -2,6 +2,14 @@
## [Unreleased]
### Fixed
- Exclude files from dist packages [#110](https://github.com/rlanvin/php-rrule/pull/110)
### Added
- Added Portugese translation [#108](https://github.com/rlanvin/php-rrule/pull/108)
- Added Polish translation [#106](https://github.com/rlanvin/php-rrule/pull/106)
## [2.3.2] - 2022-05-03

View File

@ -2783,11 +2783,10 @@ class RRuleTest extends TestCase
'DTSTART' => '2016-01-01'
);
$rrule = new RRule($array);
$this->assertIsArray($rrule->getRule());
$this->assertInternalType('array', $rrule->getRule());
$rule = $rrule->getRule();
$this->assertEquals('YEARLY', $rule['FREQ']);
$this->assertIsString($rule['DTSTART']);
$this->assertInternalType('string', $rule['DTSTART']);
$rrule = new RRule("DTSTART;TZID=America/New_York:19970901T090000\nRRULE:FREQ=HOURLY;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR;BYMONTH=1;BYHOUR=1");
$rule = $rrule->getRule();