Skip to content

Commit

Permalink
Merge pull request #40 from salarmotevalli/refactor/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Sep 12, 2023
2 parents 77634a5 + c51e57f commit 0052792
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ composer.lock
.php-cs-fixer.cache
cghooks.lock
.phpunit.cache/
phpunit.xml.dist.bak
.phpactor.json
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
"Overtrue\\LaravelFavorite\\Tests\\": "tests"
}
},
"require-dev": {
Expand Down Expand Up @@ -67,4 +67,4 @@
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}
}
2 changes: 1 addition & 1 deletion tests/Book.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Overtrue\LaravelFavorite\Tests;

use Illuminate\Database\Eloquent\Model;
use Overtrue\LaravelFavorite\Traits\Favoriteable;
Expand Down
2 changes: 1 addition & 1 deletion tests/FeatureTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Overtrue\LaravelFavorite\Tests;

use Illuminate\Support\Facades\Event;
use Overtrue\LaravelFavorite\Events\Favorited;
Expand Down
2 changes: 1 addition & 1 deletion tests/Post.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Overtrue\LaravelFavorite\Tests;

use Illuminate\Database\Eloquent\Model;
use Overtrue\LaravelFavorite\Traits\Favoriteable;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Overtrue\LaravelFavorite\Tests;

use Overtrue\LaravelFavorite\FavoriteServiceProvider;

Expand Down
2 changes: 1 addition & 1 deletion tests/User.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Overtrue\LaravelFavorite\Tests;

use Illuminate\Database\Eloquent\Model;
use Overtrue\LaravelFavorite\Traits\Favoriter;
Expand Down

0 comments on commit 0052792

Please sign in to comment.