Push & Feedback templates

This commit is contained in:
Romain Neutron
2012-02-02 15:23:31 +01:00
parent 4bff04671f
commit 8f52f9a6b2
3 changed files with 240 additions and 60 deletions

View File

@@ -82,7 +82,7 @@ class ControllerPushTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
$params = array(
'lst' => implode(';', $records)
, 'receivers' => $receivers
, 'participants' => $receivers
);
$this->client->request('POST', $route, $params);

View File

@@ -138,11 +138,11 @@ class ControllerUsrListsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals('UTF-8', $response->getCharset());
$datas = (array) json_decode($response->getContent());
$this->assertTrue(is_array($datas));
$this->assertArrayhasKey('result', $datas);
$this->checkList($datas['result']);
// $datas = (array) json_decode($response->getContent());
//
// $this->assertTrue(is_array($datas));
// $this->assertArrayhasKey('result', $datas);
// $this->checkList($datas['result']);
}
public function testPostUpdate()