allow dynamic export types (#703)

This commit is contained in:
Simone Gasparini
2019-04-25 19:33:06 +02:00
committed by Kevin Papst
parent ccf4e32523
commit f0f757cf75
4 changed files with 6 additions and 18 deletions

View File

@@ -73,6 +73,7 @@ class ExportControllerTest extends ControllerBaseTest
$response = $client->getResponse();
$this->assertFalse($response->isSuccessful());
$this->assertEquals(404, $response->getStatusCode());
$this->assertContains('Missing export renderer', $response->getContent());
}
public function testExportActionWithInvalidRenderer()
@@ -91,6 +92,7 @@ class ExportControllerTest extends ControllerBaseTest
$response = $client->getResponse();
$this->assertFalse($response->isSuccessful());
$this->assertEquals(404, $response->getStatusCode());
$this->assertContains('Unknown export renderer', $response->getContent());
}
public function testExportAction()