Skip to content
Snippets Groups Projects
Commit a5130110 authored by Alexander Purr's avatar Alexander Purr Committed by Robert Lange
Browse files

refs #21230 [finc] improve searchspecs reader test & alphabetic yaml dump

* ksort (by key sort / alphabetical) searchspecs arrays for better comparison
* simplifies checking diffs on commit
parent 43921fa6
No related merge requests found
......@@ -120,6 +120,9 @@ class SearchSpecsReaderTest extends \VuFindTest\Config\SearchSpecsReaderTest
$resultArray = $this->callMethod(self::$reader, 'getFromPaths', [$vufindYaml, $currentEnvYaml]);
$expectedArray = $this->callMethod(self::$reader, 'getFromPaths', [$expectedYaml]);
ksort($resultArray);
ksort($expectedArray);
if ($printResult) {
file_put_contents("$this->basePathToLogging/input_reverse.yaml", Yaml::dump($resultArray, 4, 2));
......
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