Skip to content

Commit

Permalink
Merge branch 'master' of github.com:timgavin/laravel-follow
Browse files Browse the repository at this point in the history
  • Loading branch information
timgavin committed Oct 25, 2022
2 parents ccd66cf + 31ca044 commit 825b7bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/LaravelFollowServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LaravelFollowServiceProvider extends ServiceProvider
*/
public function boot(): void
{
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');

if ($this->app->runningInConsole()) {
$this->bootForConsole();
Expand All @@ -27,7 +27,7 @@ public function boot(): void
*/
public function register(): void
{
$this->mergeConfigFrom(__DIR__.'/../config/laravel-follow.php', 'laravel-follow');
$this->mergeConfigFrom(__DIR__ . '/../config/laravel-follow.php', 'laravel-follow');

// Register the service the package provides.
$this->app->singleton('laravel-follow', function ($app) {
Expand Down
1 change: 0 additions & 1 deletion tests/FollowTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace TimGavin\LaravelFollow\Tests;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Auth;
use TimGavin\LaravelFollow\Models\User;

class FollowTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected function getPackageProviders($app)

protected function getEnvironmentSetUp($app)
{
include_once __DIR__.'/migrations/create_users_table.php';
include_once __DIR__ . '/migrations/create_users_table.php';

(new \CreateUsersTable)->up();
}
Expand Down

0 comments on commit 825b7bd

Please sign in to comment.