assertUrlIsSecured('/reporting'); } public function testRedirectForDefaultReportUrl() { $client = $this->getClientForAuthenticatedUser(User::ROLE_USER); $this->request($client, '/reporting/'); $this->assertIsRedirect($client, $this->createUrl('/reporting/week_by_user')); $client->followRedirect(); self::assertStringContainsString('