Skip to content

Commit

Permalink
Fix tests in php 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Aug 29, 2020
1 parent d058569 commit 7748197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
cacheResult="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
Expand Down
8 changes: 4 additions & 4 deletions tests/LarexExportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ public function test_larex_with_include(): void

self::assertFileExists(resource_path('lang/it/app.php'));
self::assertFileExists(resource_path('lang/it/another.php'));
self::assertFileDoesNotExist(resource_path('lang/en/another.php'));
self::assertFileDoesNotExist(resource_path('lang/en/another.php'));
self::assertFalse(File::exists(resource_path('lang/en/app.php')));
self::assertFalse(File::exists(resource_path('lang/en/another.php')));

self::assertEquals(
$this->getTestStub('export/larex-output-it-app'),
Expand Down Expand Up @@ -270,8 +270,8 @@ public function test_larex_with_exclude(): void

self::assertFileExists(resource_path('lang/en/app.php'));
self::assertFileExists(resource_path('lang/en/another.php'));
self::assertFileDoesNotExist(resource_path('lang/it/another.php'));
self::assertFileDoesNotExist(resource_path('lang/it/another.php'));
self::assertFalse(File::exists(resource_path('lang/it/app.php')));
self::assertFalse(File::exists(resource_path('lang/it/another.php')));

self::assertEquals(
$this->getTestStub('export/larex-output-en-app'),
Expand Down

0 comments on commit 7748197

Please sign in to comment.