Remove unused packages
Remove josephlavin/tap and tsphethean/sculpin-related-posts-bundle
This commit is contained in:
parent
774cf8086a
commit
88fffa77d2
3 changed files with 11 additions and 103 deletions
|
@ -165,16 +165,10 @@ class RetrievingTalksTest extends TestCase
|
|||
];
|
||||
|
||||
$talks = new Collection([$talkA, $talkB]);
|
||||
$events = $this->extension->getAllEvents($talks);
|
||||
|
||||
tap($this->extension->getAllEvents($talks), function (Collection $events) {
|
||||
$this->assertCount(3, $events);
|
||||
|
||||
$this->assertSame(
|
||||
['event_a', 'event_b', 'event_a'],
|
||||
$events->pluck('event')->toArray()
|
||||
);
|
||||
|
||||
$this->assertSame(3, $events->pluck('date')->unique()->count());
|
||||
});
|
||||
$this->assertCount(3, $events);
|
||||
$this->assertSame(['event_a', 'event_b', 'event_a'], $events->pluck('event')->toArray());
|
||||
$this->assertSame(3, $events->pluck('date')->unique()->count());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue