Commit f454ced8 authored by Guinness's avatar Guinness

Mise à jour des tests avec les nouvelles contreparties

parent 280924b9
Pipeline #2716 failed with stages
in 15 seconds
......@@ -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));
}
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment