]> BookStack Code Mirror - bookstack/blobdiff - tests/ThemeTest.php
Fix timestamp in API docs example response
[bookstack] / tests / ThemeTest.php
index ee4f20f3084ce3ece8f34c98d2535b28051da954..03ae7b307d4d594bb93e93934487185108e9c50a 100644 (file)
@@ -19,6 +19,7 @@ use Illuminate\Support\Facades\Artisan;
 use Illuminate\Support\Facades\File;
 use Illuminate\Support\Facades\Http;
 use League\CommonMark\ConfigurableEnvironmentInterface;
+use League\CommonMark\Environment\Environment;
 
 class ThemeTest extends TestCase
 {
@@ -57,7 +58,7 @@ class ThemeTest extends TestCase
     {
         $callbackCalled = false;
         $callback = function ($environment) use (&$callbackCalled) {
-            $this->assertInstanceOf(ConfigurableEnvironmentInterface::class, $environment);
+            $this->assertInstanceOf(Environment::class, $environment);
             $callbackCalled = true;
 
             return $environment;