assertUrlIsSecured('/reporting'); } public function testMonthlyListIsSecure() { $this->assertUrlIsSecured('/reporting/monthly_users_list'); } public function testMonthlyUsersListIsSecureForUserRole() { $this->assertUrlIsSecuredForRole(User::ROLE_USER, '/reporting/monthly_users_list'); } public function testDefaultUsersMonthReport() { $client = $this->getClientForAuthenticatedUser(User::ROLE_USER); $this->assertAccessIsGranted($client, '/reporting/'); self::assertStringContainsString('
getResponse()->getContent()); } }