Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

Commit 422154a

Browse files
committed
fix unittest
1 parent 2a484bb commit 422154a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/TranslatableTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ public function test_if_locales_are_not_defined_throw_exception()
379379
$this->expectException(Dimsav\Translatable\Exception\LocalesNotDefinedException::class);
380380

381381
$this->app->config->set('translatable.locales', []);
382+
$this->app->make('translatable.locales')->load();
383+
382384
new Country(['code' => 'pl']);
383385
}
384386

0 commit comments

Comments
 (0)