]> BookStack Code Mirror - bookstack/commitdiff
Prevented finding of check script in lang tests
authorDan Brown <redacted>
Wed, 6 Dec 2017 11:17:34 +0000 (11:17 +0000)
committerDan Brown <redacted>
Wed, 6 Dec 2017 11:17:34 +0000 (11:17 +0000)
tests/LanguageTest.php

index bb98a17b0cb0a7419785c2139de24730ca72c35d..c9d6ed6f014ed16fed5c0c25107388c307b8457f 100644 (file)
@@ -11,7 +11,7 @@ class LanguageTest extends TestCase
     public function setUp()
     {
         parent::setUp();
-        $this->langs = array_diff(scandir(resource_path('lang')), ['..', '.']);
+        $this->langs = array_diff(scandir(resource_path('lang')), ['..', '.', 'check.php']);
     }
 
     public function test_locales_config_key_set_properly()