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

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-aliraqi committed Aug 6, 2018
1 parent e0de0c9 commit add50f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
.idea/
vendor/
composer.lock
coverage/
2 changes: 0 additions & 2 deletions tests/TestsBase.php
Expand Up @@ -23,8 +23,6 @@ public function setUp()

parent::setUp();

App::make('config')->set('translatable.translation_model_namespace', 'Dimsav\Translatable\Test\Model');

if (! static::$db2Setup) {
$this->makeSureSchemaIsCreated('mysql2');
$this->truncateAllTablesButMigrations(static::DB_NAME2);
Expand Down
2 changes: 1 addition & 1 deletion tests/TranslatableTest.php
Expand Up @@ -18,7 +18,7 @@ public function test_it_finds_the_default_translation_class()

public function test_it_finds_the_translation_class_with_namespace_set()
{
App::make('config')->set('translatable.translation_model_namespace', 'App\Models\Translations');
$this->app->make('config')->set('translatable.translation_model_namespace', 'App\Models\Translations');
$country = new Country();
$this->assertEquals(
'App\Models\Translations\CountryTranslation',
Expand Down

0 comments on commit add50f9

Please sign in to comment.