Populate more test methods

This commit is contained in:
Oliver Davies 2021-08-25 09:00:00 +01:00
parent f934948559
commit 52565c99f1

View file

@ -38,13 +38,38 @@ final class TalkExtensionTest extends TestCase
/** @test */ /** @test */
public function it_counts_multiple_events_from_a_single_talk(): void public function it_counts_multiple_events_from_a_single_talk(): void
{ {
$this->markTestIncomplete(); $talks = [
[
'title' => 'Building static sites with Sculpin',
'events' => [
'',
'',
]
],
];
$this->assertSame(2, $this->subject->getPastTalkCount($talks));
} }
/** @test */ /** @test */
public function it_counts_multiple_events_from_multiple_talks(): void public function it_counts_multiple_events_from_multiple_talks(): void
{ {
$this->markTestIncomplete(); $talks = [
[
'title' => 'Building static sites with Sculpin',
'events' => [
'',
]
],
[
'title' => 'TDD - Test Driven Drupal',
'events' => [
'',
]
],
];
$this->assertSame(2, $this->subject->getPastTalkCount($talks));
} }
/** @test */ /** @test */