Skip to content

Commit

Permalink
WIP DatabaseTransactionTest
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitriBouteille committed Oct 13, 2024
1 parent 91b240a commit ab24469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/WordPress/Orm/DatabaseTransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public function testTransactionRollback(): void

$items = $this->model::all();
$this->assertCount(2, $items->toArray(), 'There must be only 2 items because the transaction was rollback.');
$this->assertEquals(['deposit-1', 'deposit-2'], $items->pluck('url'));
}

/**
Expand Down

0 comments on commit ab24469

Please sign in to comment.