From b68a06526c857abd4d4966d86d54b24075aa90df Mon Sep 17 00:00:00 2001 From: Bruno Noronha Date: Thu, 25 Sep 2014 12:50:47 -0300 Subject: [PATCH] Controler de teste --- src/Cacic/RelatorioBundle/Tests/Controller/HardwareControllerTest.php | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+), 0 deletions(-) create mode 100644 src/Cacic/RelatorioBundle/Tests/Controller/HardwareControllerTest.php diff --git a/src/Cacic/RelatorioBundle/Tests/Controller/HardwareControllerTest.php b/src/Cacic/RelatorioBundle/Tests/Controller/HardwareControllerTest.php new file mode 100644 index 0000000..c4fd209 --- /dev/null +++ b/src/Cacic/RelatorioBundle/Tests/Controller/HardwareControllerTest.php @@ -0,0 +1,52 @@ +request( + 'GET', + '/relatorio/hardware/NetworkAdapterConfiguration', + array(), + array(), + array(), + '{}' + ); + + $this->assertTrue($crawler->filter('option:contains("DefaultIPGateway")')->count() > 0); + } + + + /** + * Remove dados de teste + */ + + public function tearDown() { + + } +} -- libgit2 0.21.2