Skip to content

Commit 031afdb

Browse files
committed
add unit-test
1 parent 9ff70ee commit 031afdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/WalletTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public function testRecalculate(): void
208208
$this->assertEquals($user->balance, 100);
209209

210210
$user->withdraw($user->balance);
211+
$this->assertEquals($user->balance, 0);
211212
}
212213

213214
}

0 commit comments

Comments
 (0)