blob: da8c4ade1dd0a210494ea8f459b296ad8280c813 [file] [log] [blame]
Leo Repp8e21cbe2021-08-18 16:37:52 +02001<<<<<<< HEAD
Akron1419aad2021-09-22 18:45:44 +02002use Mojo::Base -strict;
3use Test::More;
4use Test::Mojo;
5
Leo Repp8e21cbe2021-08-18 16:37:52 +02006=======
7
8use Mojo::Base -strict;
9use Test::More;
10use Test::Mojo;
11>>>>>>> Use containerMenu as a base for HintMenu instead of regular menu
Akron1419aad2021-09-22 18:45:44 +020012# Test the documentation
13my $t = Test::Mojo->new('Kalamar' => {
14 Kalamar => {
15 plugins => ['DemoServer']
16 }
17});
Leo Repp8e21cbe2021-08-18 16:37:52 +020018<<<<<<< HEAD
Akron1419aad2021-09-22 18:45:44 +020019
Leo Repp8e21cbe2021-08-18 16:37:52 +020020=======
21>>>>>>> Use containerMenu as a base for HintMenu instead of regular menu
Akron1419aad2021-09-22 18:45:44 +020022$t->get_ok('/demo/all.html')
23 ->status_is(200)
24 ->content_type_is('text/html;charset=UTF-8')
25 ->text_is('title', 'Complete Demo')
26 ;
Leo Repp8e21cbe2021-08-18 16:37:52 +020027<<<<<<< HEAD
Akron1419aad2021-09-22 18:45:44 +020028
Leo Repp8e21cbe2021-08-18 16:37:52 +020029=======
30>>>>>>> Use containerMenu as a base for HintMenu instead of regular menu
Akron1419aad2021-09-22 18:45:44 +020031$t->get_ok('/demo/alldemo.js')
32 ->status_is(200)
33 ->content_type_is('application/javascript')
34 ->content_like(qr!'app/en'!)
35 ;
Leo Repp8e21cbe2021-08-18 16:37:52 +020036<<<<<<< HEAD
Akron1419aad2021-09-22 18:45:44 +020037
38done_testing;
39__END__
Leo Repp8e21cbe2021-08-18 16:37:52 +020040=======
41done_testing;
42__END__
43>>>>>>> Use containerMenu as a base for HintMenu instead of regular menu