Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #48 from xtreamwayz/feature/installer-tests
Browse files Browse the repository at this point in the history
It's time to add some test for the installer itself
  • Loading branch information
weierophinney committed Dec 21, 2015
2 parents 5310fcb + 1038862 commit 6611bc3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/ExpressiveInstallerTest/TemplateRenderersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,14 @@ public function templateRendererProvider()
// $containerOption, $routerOption, $templateRendererOption, $copyFilesKey, $expectedResponseStatusCode,
// $expectedTemplateRenderer
return [
'plates-minimal' => [3, 2, 1, 'minimal-files', 404, Expressive\Plates\PlatesRenderer::class],
// Full tests first so all the template paths are created before the minimal tests start
'plates-full' => [3, 2, 1, 'copy-files', 200, Expressive\Plates\PlatesRenderer::class],
'twig-minimal' => [3, 2, 2, 'minimal-files', 404, Expressive\Twig\TwigRenderer::class],
'twig-full' => [3, 2, 2, 'copy-files', 200, Expressive\Twig\TwigRenderer::class],
'zend-view-minimal' => [3, 2, 3, 'minimal-files', 404, Expressive\ZendView\ZendViewRenderer::class],
'zend-view-full' => [3, 2, 3, 'copy-files', 200, Expressive\ZendView\ZendViewRenderer::class],
// Minimal tests must be after the full tests !!!
'plates-minimal' => [3, 2, 1, 'minimal-files', 404, Expressive\Plates\PlatesRenderer::class],
'twig-minimal' => [3, 2, 2, 'minimal-files', 404, Expressive\Twig\TwigRenderer::class],
'zend-view-minimal' => [3, 2, 3, 'minimal-files', 404, Expressive\ZendView\ZendViewRenderer::class],
];
}
}

0 comments on commit 6611bc3

Please sign in to comment.