Add TalkExtension as a Twig extension
This commit is contained in:
parent
d22c35c090
commit
5048781ae3
3 changed files with 17 additions and 3 deletions
|
@ -10,6 +10,6 @@ final class TalkExtensionTest extends TestCase
|
|||
/** @test */
|
||||
public function it_returns_zero_if_there_are_no_talks(): void
|
||||
{
|
||||
$this->assertSame(0, (new TalkExtension())->getPastTalksCount([]));
|
||||
$this->assertSame(0, (new TalkExtension())->getPastTalkCount([]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue