client = $this->createClient(); } /** * Default route test */ public function testRouteSlash() { $this->client->request('POST', '/records/movecollection/', array('lst' => self::$record_1->get_serialize_key())); $response = $this->client->getResponse(); $this->assertTrue($response->isOk()); } public function testApply() { $this->client->request('POST', '/records/movecollection/apply/', array('lst' => self::$record_1->get_serialize_key(), 'base_id' => self::$collection->get_base_id())); $response = $this->client->getResponse(); $this->assertTrue($response->isOk()); } }