Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphschindler committed Feb 18, 2019
1 parent a638e10 commit f981962
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions tests/Database/DatabaseEloquentIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
use RuntimeException;
use InvalidArgumentException;
use Illuminate\Support\Carbon;
use Illuminate\Tests\Integration\Database\EloquentCollectionFreshTest;
use Illuminate\Tests\Integration\Database\EloquentDeleteTest;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\QueryException;
Expand Down
11 changes: 0 additions & 11 deletions tests/Integration/Database/EloquentPivotEventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

namespace Illuminate\Tests\Integration\Database;

use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\Pivot;
use Illuminate\Database\Eloquent\Relations\MorphPivot;
use Illuminate\Database\Eloquent\Collection as DatabaseCollection;

/**
* @group integration
Expand Down Expand Up @@ -85,42 +82,34 @@ public static function boot()

static::creating(function ($model) {
static::$eventsCalled[] = 'creating';
return true;
});

static::created(function ($model) {
static::$eventsCalled[] = 'created';
return true;
});

static::updating(function ($model) {
static::$eventsCalled[] = 'updating';
return true;
});

static::updated(function ($model) {
static::$eventsCalled[] = 'updated';
return true;
});

static::saving(function ($model) {
static::$eventsCalled[] = 'saving';
return true;
});

static::saved(function ($model) {
static::$eventsCalled[] = 'saved';
return true;
});

static::deleting(function ($model) {
static::$eventsCalled[] = 'deleting';
return true;
});

static::deleted(function ($model) {
static::$eventsCalled[] = 'deleted';
return true;
});
}
}

0 comments on commit f981962

Please sign in to comment.