Skip to content
Snippets Groups Projects
Commit af9e8814 authored by Robert Lange's avatar Robert Lange Committed by Dorian Merz
Browse files

refs #18108 [master] fix for finc testing of PAIA

* repair outdated option test in PAIATest testgetOptionsNotOnlyFirstButAll
parent 404be76a
No related merge requests found
......@@ -75,8 +75,6 @@ class PAIAFincTest extends \VuFindTest\ILS\Driver\PAIATest
]
];
/**
* Test
*
......@@ -101,7 +99,6 @@ class PAIAFincTest extends \VuFindTest\ILS\Driver\PAIATest
]
];
$conditions = [
self::$pickupCondition
];
......@@ -474,7 +471,6 @@ class PAIAFincTest extends \VuFindTest\ILS\Driver\PAIATest
);
}
/**
* Test
*
......@@ -520,6 +516,8 @@ class PAIAFincTest extends \VuFindTest\ILS\Driver\PAIATest
"Wrong option value"
);
$validOptions[0][0] = 'TESTID1';
$validOptions[0][1] = 'TESTID2';
$this->assertEquals(
['TESTID1', 'TESTID2'],
$conn->getOptions(self::$pickupCondition, $options, false, $validOptions),
......@@ -533,7 +531,7 @@ class PAIAFincTest extends \VuFindTest\ILS\Driver\PAIATest
$this->assertEquals(
['TESTLABEL1', 'TESTID2'],
$conn->getOptions(self::$pickupCondition, $options, false, $validOptions),
$conn->getOptions(self::$pickupCondition, $options, false, null),
"Wrong option value"
);
}
......
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