mirror of
https://github.com/rlanvin/php-rrule.git
synced 2025-04-08 23:53:48 +02:00
Adding debug for failing test on Travis
This commit is contained in:
parent
8de2807d17
commit
5f409deae9
@ -1390,7 +1390,8 @@ class RRuleTest extends PHPUnit_Framework_TestCase
|
|||||||
public function testRulesWithoutOccurrences($rule)
|
public function testRulesWithoutOccurrences($rule)
|
||||||
{
|
{
|
||||||
$rule = new RRule($rule);
|
$rule = new RRule($rule);
|
||||||
$this->assertEmpty($rule->getOccurrences());
|
$occurrences = $rule->getOccurrences();
|
||||||
|
$this->assertEmpty($rule->getOccurrences(), 'This should be empty : '.json_encode($occurrences));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1562,7 +1563,7 @@ class RRuleTest extends PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$rule = new RRule($rule);
|
$rule = new RRule($rule);
|
||||||
foreach ( $not_occurences as $date ) {
|
foreach ( $not_occurences as $date ) {
|
||||||
$this->assertFalse($rule->occursAt($date), $date);
|
$this->assertFalse($rule->occursAt($date), "Rule must not match $date");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user