This repository was archived by the owner on Jan 17, 2024. It is now read-only.
File tree 6 files changed +11
-4
lines changed
6 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 7
7
- ' 5.12'
8
8
- ' 5.10'
9
9
before_install :
10
- - ' sudo mkdir /var/log/keepass4web'
11
- - ' sudo chmod 777 /var/log/keepass4web'
12
10
- ' sudo apt-get update -qq'
13
11
- ' sudo apt-get install -qq libkeyutils-dev libkeyutils1 libmagic1 libmagic-dev'
14
12
install : ' cpanm --installdeps . --with-all-features --with-recommends --with-suggests --notest --quiet'
Original file line number Diff line number Diff line change @@ -110,3 +110,4 @@ t/001_base.t
110
110
t/002_routes_no_session.t
111
111
t/003_routes_no_csrf.t
112
112
t/004_routes.t
113
+ t/env/test.yml
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Makefile$
10
10
^t.*sessions
11
11
^cover_db
12
12
^.*\.log
13
- ^.*\.sw[o -z]$
13
+ ^.*\.sw[a -z]$
14
14
.gitignore
15
15
environments/development.yml
16
16
MYMETA.json
Original file line number Diff line number Diff line change 1
1
package KeePass4Web::Test ;
2
2
3
+ BEGIN {
4
+ $ENV {DANCER_ENVDIR } = ' t/env' ;
5
+ $ENV {DANCER_ENVIRONMENT } = ' test' ;
6
+ }
7
+
3
8
use HTTP::Request::Common ();
4
9
use Plack::Test;
5
10
use KeePass4Web;
@@ -62,3 +67,5 @@ sub ajax {
62
67
}
63
68
64
69
sub csrf_token { $csrf_token = shift }
70
+
71
+ 1;
Original file line number Diff line number Diff line change 1
1
use strict;
2
2
use warnings;
3
3
4
- use KeePass4Web;
5
4
use KeePass4Web::Test;
5
+ use KeePass4Web;
6
6
use KeePass4Web::Constant;
7
7
use Test::More tests => 23;
8
8
use JSON ();
Original file line number Diff line number Diff line change
1
+ logger : ' Null'
You can’t perform that action at this time.
0 commit comments