diff options
Diffstat (limited to 't')
-rw-r--r-- | t/controller_Graph.t | 9 | ||||
-rw-r--r-- | t/controller_Report.t | 9 | ||||
-rw-r--r-- | t/view_GraphViz.t | 7 |
3 files changed, 25 insertions, 0 deletions
diff --git a/t/controller_Graph.t b/t/controller_Graph.t new file mode 100644 index 0000000..5830b81 --- /dev/null +++ b/t/controller_Graph.t @@ -0,0 +1,9 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { use_ok 'Catalyst::Test', 'MGA::Mirrors' } +BEGIN { use_ok 'MGA::Mirrors::Controller::Graph' } + +ok( request('/graph')->is_success, 'Request should succeed' ); +done_testing(); diff --git a/t/controller_Report.t b/t/controller_Report.t new file mode 100644 index 0000000..ad7da83 --- /dev/null +++ b/t/controller_Report.t @@ -0,0 +1,9 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { use_ok 'Catalyst::Test', 'MGA::Mirrors' } +BEGIN { use_ok 'MGA::Mirrors::Controller::Report' } + +ok( request('/report')->is_success, 'Request should succeed' ); +done_testing(); diff --git a/t/view_GraphViz.t b/t/view_GraphViz.t new file mode 100644 index 0000000..53925aa --- /dev/null +++ b/t/view_GraphViz.t @@ -0,0 +1,7 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { use_ok 'MGA::Mirrors::View::GraphViz' } + +done_testing(); |