Update and delete multi timesheets and tags (#1240)
This commit is contained in:
@@ -164,9 +164,9 @@ class UserControllerTest extends ControllerBaseTest
|
||||
$this->assertHasFlashDeleteSuccess($client);
|
||||
|
||||
// SQLIte does not necessarly support onCascade delete, so these timesheet will stay after deletion
|
||||
// $em->clear();
|
||||
// $timesheets = $em->getRepository(Timesheet::class)->findAll();
|
||||
// $this->assertEquals(0, count($timesheets));
|
||||
// $em->clear(Timesheet::class);
|
||||
// $timesheets = $em->getRepository(Timesheet::class)->count([]);
|
||||
// $this->assertEquals(0, $timesheets);
|
||||
|
||||
$this->request($client, '/admin/user/' . $user->getId() . '/edit');
|
||||
$this->assertFalse($client->getResponse()->isSuccessful());
|
||||
|
||||
Reference in New Issue
Block a user