|
Lines 24-29
use File::Basename;
Link Here
|
| 24 |
use C4::Context; |
24 |
use C4::Context; |
| 25 |
|
25 |
|
| 26 |
use Koha::FrameworkPlugin; |
26 |
use Koha::FrameworkPlugin; |
|
|
27 |
use Koha::ContentSecurityPolicy; |
| 27 |
|
28 |
|
| 28 |
use t::lib::Mocks; |
29 |
use t::lib::Mocks; |
| 29 |
use t::lib::TestBuilder; |
30 |
use t::lib::TestBuilder; |
|
Lines 39-44
BEGIN {
Link Here
|
| 39 |
use_ok('Koha::Plugin::TestValuebuilder'); |
40 |
use_ok('Koha::Plugin::TestValuebuilder'); |
| 40 |
} |
41 |
} |
| 41 |
|
42 |
|
|
|
43 |
my $csp = Koha::ContentSecurityPolicy->new; |
| 44 |
$csp->set_nonce(); |
| 45 |
|
| 42 |
my $schema = Koha::Database->new->schema; |
46 |
my $schema = Koha::Database->new->schema; |
| 43 |
my $builder = t::lib::TestBuilder->new; |
47 |
my $builder = t::lib::TestBuilder->new; |
| 44 |
|
48 |
|
| 45 |
- |
|
|