Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 1 | <<<<<<< HEAD |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 2 | use Mojo::Base -strict; |
| 3 | use Test::More; |
| 4 | use Test::Mojo; |
| 5 | |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 6 | ======= |
| 7 | |
| 8 | use Mojo::Base -strict; |
| 9 | use Test::More; |
| 10 | use Test::Mojo; |
| 11 | >>>>>>> Use containerMenu as a base for HintMenu instead of regular menu |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 12 | # Test the documentation |
| 13 | my $t = Test::Mojo->new('Kalamar' => { |
| 14 | Kalamar => { |
| 15 | plugins => ['DemoServer'] |
| 16 | } |
| 17 | }); |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 18 | <<<<<<< HEAD |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 19 | |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 20 | ======= |
| 21 | >>>>>>> Use containerMenu as a base for HintMenu instead of regular menu |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 22 | $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 Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 27 | <<<<<<< HEAD |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 28 | |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 29 | ======= |
| 30 | >>>>>>> Use containerMenu as a base for HintMenu instead of regular menu |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 31 | $t->get_ok('/demo/alldemo.js') |
| 32 | ->status_is(200) |
| 33 | ->content_type_is('application/javascript') |
| 34 | ->content_like(qr!'app/en'!) |
| 35 | ; |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 36 | <<<<<<< HEAD |
Akron | 1419aad | 2021-09-22 18:45:44 +0200 | [diff] [blame] | 37 | |
| 38 | done_testing; |
| 39 | __END__ |
Leo Repp | 8e21cbe | 2021-08-18 16:37:52 +0200 | [diff] [blame^] | 40 | ======= |
| 41 | done_testing; |
| 42 | __END__ |
| 43 | >>>>>>> Use containerMenu as a base for HintMenu instead of regular menu |