version 1.16.2 (#2942)
* bump version * include calendar week in week chooser * table names in SQL * show save flash message * prevent migration warning * drop default value to prevent error when server version is not set * csrf token for duplicate actions * updated translations
This commit is contained in:
@@ -34,4 +34,11 @@ class DoctorControllerTest extends ControllerBaseTest
|
||||
$result = $client->getCrawler()->filter('.content .box-header');
|
||||
self::assertCount(6, $result);
|
||||
}
|
||||
|
||||
public function testFlushLogWithInvalidCsrf()
|
||||
{
|
||||
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);
|
||||
|
||||
$this->assertInvalidCsrfToken($client, '/doctor/flush-log/rsetdzfukgli78t6r5uedtjfzkugl', $this->createUrl('/doctor'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user