Assert that the event dates are all unique
This commit is contained in:
parent
e7a2bdebe7
commit
9105143dac
|
@ -169,6 +169,8 @@ class TalksExtensionTest extends TestCase
|
|||
['event_a', 'event_b', 'event_a'],
|
||||
$events->pluck('event')->toArray()
|
||||
);
|
||||
|
||||
$this->assertSame(3, $events->pluck('date')->unique()->count());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue