Fix indentation
This commit is contained in:
parent
6ee3e91363
commit
b4612c3da3
|
@ -20,18 +20,18 @@ class OpdaviesTwigExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
$talk = $this->createTalk(
|
$talk = $this->createTalk(
|
||||||
events: [
|
events: [
|
||||||
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
self::assertSame(0, $this->extension->getPastTalkCount([$talk]));
|
self::assertSame(0, $this->extension->getPastTalkCount([$talk]));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testSinglePastEvent(): void
|
public function testSinglePastEvent(): void
|
||||||
{
|
{
|
||||||
$talkA = $this->createTalk(
|
$talkA = $this->createTalk(
|
||||||
events: [
|
events: [
|
||||||
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -48,8 +48,8 @@ class OpdaviesTwigExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
$talkA = $this->createTalk(
|
$talkA = $this->createTalk(
|
||||||
events: [
|
events: [
|
||||||
['date' => (new \DateTime('-1 days'))->getTimestamp()],
|
['date' => (new \DateTime('-1 days'))->getTimestamp()],
|
||||||
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
['date' => (new \DateTime('+1 days'))->getTimestamp()],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue