public function test_auth_page_redirects_to_slack() { $client = static::createClient(); $crawler = $client->request('GET', '/auth'); $response = $client->getResponse(); $this->assertSame(302, $response->getStatusCode()); $this->assertContains('https://slack.com/oauth', $response->getTargetUrl()); }