Commit a130cd38 authored by Maxime Besson's avatar Maxime Besson

Fix notification unit tests for parallel execution

parent ff9bb463
Pipeline #6729 passed with stage
in 13 minutes and 32 seconds
......@@ -32,14 +32,14 @@ SKIP: {
if ($@) {
skip 'Lasso not found', $maintests;
}
my $file = 't/20160530_dwho_dGVzdHJlZg==.json';
my $file = "$main::tmpDir/20170531_dwho_dGVzdHJlZjI=.json";
open F, "> $file" or die($!);
print F '[
{
"uid": "dwho",
"date": "2016-05-30",
"reference": "testref",
"date": "2017-05-31",
"reference": "testref2",
"title": "Test title",
"subtitle": "Test subtitle",
"text": "This is a test text",
......@@ -277,7 +277,7 @@ sub issuer {
mail2fCodeRegex => '\d{4}',
notification => 1,
notificationStorage => 'File',
notificationStorageOptions => { dirName => 't' },
notificationStorageOptions => { dirName => "$main::tmpDir" },
oldNotifFormat => 0,
samlSPMetaDataOptions => {
'sp.com' => {
......
......@@ -31,7 +31,7 @@ SKIP: {
if ($@) {
skip 'Lasso not found', $maintests;
}
my $file = 't/20160530_dwho_dGVzdHJlZg==.json';
my $file = "$main::tmpDir/20160530_dwho_dGVzdHJlZg==.json";
open F, "> $file" or die($!);
print F '[
......@@ -247,7 +247,7 @@ sub issuer {
issuerDBSAMLActivation => 1,
notification => 1,
notificationStorage => 'File',
notificationStorageOptions => { dirName => 't' },
notificationStorageOptions => { dirName => "$main::tmpDir" },
oldNotifFormat => 0,
samlSPMetaDataOptions => {
'sp.com' => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment