File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
- 0.59 2025-01-14
1
+ 0.59 2025-01-23
2
2
- Improve appearance of title-addon on logo. (uyen-nhu)
3
3
- Create and style new item on top navbar for 'News'. (uyen-nhu)
4
4
- Change settings link in logout.html.ep to dynamic link. (uyen-nhu)
23
23
- Fix alerts in hint helper (diewald)
24
24
- Don't send empty pipes and states via query param (diewald)
25
25
- Fix access of iframe location in tutorials. (diewald)
26
+ - Fix test that wrongly required SSL support. (diewald)
26
27
27
28
0.58 2024-11-15
28
29
- Cookie path is settable now (hebasta)
Original file line number Diff line number Diff line change @@ -6,8 +6,26 @@ use utf8;
6
6
7
7
$ENV {KALAMAR_VERSION } = ' 0.47.999' ;
8
8
9
+ # ####################
10
+ # Start Fake server #
11
+ # ####################
12
+ my $mount_point = ' /realapi/' ;
13
+ $ENV {KALAMAR_API } = $mount_point ;
14
+
9
15
my $t = Test::Mojo-> new(' Kalamar' );
10
16
17
+ # Mount fake backend
18
+ # Get the fixture path
19
+ my $fixtures_path = path(Mojo::File-> new(__FILE__ )-> dirname, ' server' );
20
+ my $fake_backend = $t -> app-> plugin(
21
+ Mount => {
22
+ $mount_point =>
23
+ $fixtures_path -> child(' mock.pl' )
24
+ }
25
+ );
26
+ # Configure fake backend
27
+ $fake_backend -> pattern-> defaults-> {app }-> log ($t -> app-> log );
28
+
11
29
$t -> app-> mode(' production' );
12
30
13
31
$t -> get_ok(' /' )
@@ -67,6 +85,7 @@ $t->get_ok('/?cq=corpusSigle%3DGOE')
67
85
-> element_exists(' #koralQuery' )
68
86
-> element_exists(' aside.invisible' )
69
87
-> element_exists(' aside.off' )
88
+ -> text_is(' #notifications > .notify-error' , undef )
70
89
;
71
90
72
91
$t -> get_ok(' /huhuhuhuhu' )
You can’t perform that action at this time.
0 commit comments