Skip to content

Commit

Permalink
Merge pull request #7 from znck/analysis-qoexg8
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
znck committed Nov 17, 2015
2 parents 310abe7 + cf0faac commit 4b95e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phpunit.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
|
*/
date_default_timezone_set('UTC');
Carbon\Carbon::setTestNow(Carbon\Carbon::now());
Carbon\Carbon::setTestNow(Carbon\Carbon::now());
6 changes: 3 additions & 3 deletions tests/BelongsToThroughTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Illuminate\Database\Eloquent\Model as Eloquent;
use Znck\Eloquent\Traits\BelongsToThrough;
use Illuminate\Support\Str;
use Znck\Eloquent\Traits\BelongsToThrough;

/**
* Test BelongsToThrough.
Expand All @@ -19,9 +19,9 @@ protected function getEnvironmentSetUp($app)
// Setup default database to use sqlite :memory:
$app['config']->set('database.default', 'testbench');
$app['config']->set('database.connections.testbench', [
'driver' => 'sqlite',
'driver' => 'sqlite',
'database' => __DIR__.'/database.sqlite',
'prefix' => '',
'prefix' => '',
]);
}

Expand Down

0 comments on commit 4b95e3b

Please sign in to comment.