public function testIndexWithPostInvalid() { $this->logIn($this->Customer); $client = $this->client; $client->request('POST', $this->app->path('mypage_change'), array()); $this->assertTrue($client->getResponse()->isSuccessful()); }