Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Sep 4, 2022
1 parent 8e7db69 commit 7bc5f99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/RandomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function testSoftDelete(): void

$entity = $m->loadBy('name', 'Michael');
$softDeleteController->softDelete($entity);
static::assertEquals([
static::assertSame([
'item' => [
1 => ['id' => 1, 'name' => 'John', 'parent_item_id' => null, 'is_deleted' => '0'],
2 => ['id' => 2, 'name' => 'Michael', 'parent_item_id' => null, 'is_deleted' => '1'],
Expand All @@ -191,7 +191,7 @@ public function testSoftDelete(): void
return $m->loadBy('name', 'Michael');
});
$softDeleteController->restore($entity);
static::assertEquals([
static::assertSame([
'item' => [
1 => ['id' => 1, 'name' => 'John', 'parent_item_id' => null, 'is_deleted' => '0'],
2 => ['id' => 2, 'name' => 'Michael', 'parent_item_id' => null, 'is_deleted' => '0'],
Expand All @@ -200,7 +200,7 @@ public function testSoftDelete(): void

$entity = $m->loadBy('name', 'Michael');
$entity->delete();
static::assertEquals([
static::assertSame([
'item' => [
1 => ['id' => 1, 'name' => 'John', 'parent_item_id' => null, 'is_deleted' => '0'],
2 => ['id' => 2, 'name' => 'Michael', 'parent_item_id' => null, 'is_deleted' => '1'],
Expand Down

0 comments on commit 7bc5f99

Please sign in to comment.