Skip to content

Commit

Permalink
autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bavixbot committed Jul 22, 2024
1 parent 2e302cd commit e42573d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Units/Service/AtomicServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ public function testBlockIter3(): void
* This test creates a new Buyer and deposits 1000 units into their wallet. Then, it attempts to
* withdraw 3000 units from the wallet within an atomic block. Since there are not enough funds,
* an exception is thrown. The test then checks that the balance of the wallet has not changed.
*
* @return void
*/
public function testRollback(): void
{
Expand Down Expand Up @@ -116,9 +114,7 @@ public function testRollback(): void

// Retrieve the Buyer from the database and check that the balance is still 1000 units

/**
* @var Buyer $userFromDb
*/
/** @var Buyer $userFromDb */
$userFromDb = Buyer::find($user->getKey());

// Check that the balance of the wallet is 1000 units
Expand Down

0 comments on commit e42573d

Please sign in to comment.