diff --git a/tests/functional/portal_acp_test.php b/tests/functional/portal_acp_test.php new file mode 100644 index 00000000..e6fd3a55 --- /dev/null +++ b/tests/functional/portal_acp_test.php @@ -0,0 +1,39 @@ +login(); + $this->admin_login(); + $this->enable_board3_portal_ext(); + } + + public function acp_pages_data() + { + return array( + array('config'), + array('modules'), + array('upload_module'), + ); + } + + /** + * @dataProvider acp_pages_data + */ + public function test_acp_pages($mode) + { + $crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=' . $mode . '&sid=' . $this->sid); + } +}