Skip to content

Commit

Permalink
Removed redundant version dependant asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
FrittenKeeZ committed Jun 22, 2022
1 parent a22a96f commit 0187e64
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions tests/Actions/ResetsIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public function testWithMovieSettings(): void
$this->app->make(SynchronizesIndex::class)(self::INDEX, $settings);
$details = $this->app->make(DetailsIndex::class)(self::INDEX);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = $this->app->make(ResetsIndex::class)(self::INDEX);
Expand Down Expand Up @@ -68,7 +67,6 @@ public function testWithPretend(): void
$this->app->make(SynchronizesIndex::class)(self::INDEX, $settings);
$details = $this->app->make(DetailsIndex::class)(self::INDEX);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = $this->app->make(ResetsIndex::class)(self::INDEX, true);
Expand Down
2 changes: 0 additions & 2 deletions tests/Actions/ResetsModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public function testWithAdvancedSettings(): void
$this->app->make(SynchronizesModel::class)(MeiliMovie::class);
$details = $this->app->make(DetailsModel::class)(MeiliMovie::class);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = $this->app->make(ResetsModel::class)(MeiliMovie::class);
Expand Down Expand Up @@ -63,7 +62,6 @@ public function testWithPretend(): void
$this->app->make(SynchronizesModel::class)(MeiliMovie::class);
$details = $this->app->make(DetailsModel::class)(MeiliMovie::class);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = $this->app->make(ResetsModel::class)(MeiliMovie::class, true);
Expand Down
2 changes: 0 additions & 2 deletions tests/Commands/IndexResetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public function testWithAdvancedSettings(): void
$this->app->make(SynchronizesIndex::class)(self::INDEX, $settings);
$details = $this->app->make(DetailsIndex::class)(self::INDEX);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = collect($settings)
Expand Down Expand Up @@ -81,7 +80,6 @@ public function testWithPretend(): void
$this->app->make(SynchronizesIndex::class)(self::INDEX, $settings);
$details = $this->app->make(DetailsIndex::class)(self::INDEX);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = collect($settings)
Expand Down
2 changes: 0 additions & 2 deletions tests/Commands/ModelResetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function testWithAdvancedSettings(): void
$this->app->make(SynchronizesModel::class)(MeiliMovie::class);
$details = $this->app->make(DetailsModel::class)(MeiliMovie::class);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = collect($settings)
Expand Down Expand Up @@ -76,7 +75,6 @@ public function testWithPretend(): void
$this->app->make(SynchronizesModel::class)(MeiliMovie::class);
$details = $this->app->make(DetailsModel::class)(MeiliMovie::class);
$this->assertNotSame($defaults, $details);
$this->assertNotSame($settings, $details);
$this->assertSame(array_replace($defaults, $settings), $details);

$changes = collect($settings)
Expand Down

0 comments on commit 0187e64

Please sign in to comment.