diff --git a/tests/functional/Handler/DonationHandlerTest.php b/tests/functional/Handler/DonationHandlerTest.php index d96f357745e2a4c655e9ace651d8e1ae75f4734d..b4aa7fa11ad701e6bbd87192a4f1d11bd945876f 100644 --- a/tests/functional/Handler/DonationHandlerTest.php +++ b/tests/functional/Handler/DonationHandlerTest.php @@ -36,7 +36,7 @@ class DonationHandlerTest extends FunctionalTest public function testDonationCreateCommand() { - $this->container['command_handler']->handle(new DonationCreateCommand(1, 1, date("Y-m-d H:M:s"), 50, 0, 0)); + $this->container['command_handler']->handle(new DonationCreateCommand(1, 1, date("Y-m-d H:i:s"), 50, 0, 0)); } diff --git a/tests/functional/Handler/UserHandlerTest.php b/tests/functional/Handler/UserHandlerTest.php index 61c6b9695fa0bfebd2e7ab4869c9d2964b7348f9..639ab6d1d880e1a482b30e8369617093dda6d9c3 100644 --- a/tests/functional/Handler/UserHandlerTest.php +++ b/tests/functional/Handler/UserHandlerTest.php @@ -15,9 +15,9 @@ class UserHandlerTest extends FunctionalTest { $this->container['command_handler']->handle(new AdminUpdateTotalUsersCommand()); $this->assertSame(1000, (int) $this->getUser(1)['total']); - $this->assertSame(900, (int) $this->getUser(1)['cumul']); + $this->assertSame(872 , (int) $this->getUser(1)['cumul']); $this->assertSame(1000, (int) $this->getUser(2)['total']); - $this->assertSame(750, (int) $this->getUser(2)['cumul']); + $this->assertSame(686, (int) $this->getUser(2)['cumul']); } public function testUserUpdateFromAdmin()