From 009b0f3f27ae0a28137048f1329e76906b3c8b19 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 18 Aug 2023 15:18:45 +0200 Subject: [PATCH] Fixed tests --- tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php b/tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php index c4fbee70..b005034d 100644 --- a/tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php +++ b/tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php @@ -72,7 +72,7 @@ class GlobalsTest extends ExtensionTest $extension = new Globals($auth, $request); $globals = $extension->getGlobals(); - $this->assertGlobalsExists('day_of_event', -2, $globals); + $this->assertGlobalsExists('day_of_event', 3, $globals); // No user $this->assertGlobalsExists('user', [], $globals);