@@ -32,7 +32,7 @@ |
||
32 | 32 | 20000 |
33 | 33 | ); |
34 | 34 | |
35 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Repository/mail.csv'); |
|
35 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Repository/mail.csv'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -32,7 +32,7 @@ |
||
32 | 32 | 20000 |
33 | 33 | ); |
34 | 34 | |
35 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Repository/metadata.csv'); |
|
35 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Repository/metadata.csv'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 |
@@ -86,7 +86,7 @@ |
||
86 | 86 | ]); |
87 | 87 | |
88 | 88 | self::assertEquals(200, $response->getStatusCode()); |
89 | - self::assertEquals('This is some plain text test file.' . "\n", (string) $response->getBody()); |
|
89 | + self::assertEquals('This is some plain text test file.'."\n", (string) $response->getBody()); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -51,15 +51,15 @@ discard block |
||
51 | 51 | { |
52 | 52 | parent::setUp(); |
53 | 53 | |
54 | - $this->oaiUrl = $this->baseUrl . 'index.php?id=' . $this->oaiPage; |
|
55 | - $this->oaiUrlNoStoragePid = $this->baseUrl . 'index.php?id=' . $this->oaiPageNoStoragePid; |
|
54 | + $this->oaiUrl = $this->baseUrl.'index.php?id='.$this->oaiPage; |
|
55 | + $this->oaiUrlNoStoragePid = $this->baseUrl.'index.php?id='.$this->oaiPageNoStoragePid; |
|
56 | 56 | |
57 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/documents_1.csv'); |
|
58 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/metadata.csv'); |
|
59 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/libraries.csv'); |
|
60 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/pages.csv'); |
|
61 | - $this->importDataSet(__DIR__ . '/../../Fixtures/OaiPmh/pages.xml'); |
|
62 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/OaiPmh/solrcores.csv'); |
|
57 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/documents_1.csv'); |
|
58 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/metadata.csv'); |
|
59 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/libraries.csv'); |
|
60 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/pages.csv'); |
|
61 | + $this->importDataSet(__DIR__.'/../../Fixtures/OaiPmh/pages.xml'); |
|
62 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/OaiPmh/solrcores.csv'); |
|
63 | 63 | |
64 | 64 | $this->solrCoreRepository = $this->initializeRepository(SolrCoreRepository::class, 20000); |
65 | 65 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $coreName = Solr::createCore(); |
76 | 76 | $solr = Solr::getInstance($coreName); |
77 | 77 | |
78 | - $this->importSolrDocuments($solr, __DIR__ . '/../../Fixtures/Common/documents_1.solr.json'); |
|
78 | + $this->importSolrDocuments($solr, __DIR__.'/../../Fixtures/Common/documents_1.solr.json'); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | $oaiCoreModel = $this->solrCoreRepository->findByUid(11001); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | $view->assign( |
36 | 36 | 'configObject', |
37 | - [ 'wrap' => 'all.wrap = <article class="shlb-metadata-text-item metadata-title">|</article> |
|
37 | + ['wrap' => 'all.wrap = <article class="shlb-metadata-text-item metadata-title">|</article> |
|
38 | 38 | key.wrap = <label>|</label> |
39 | 39 | value.required = 1 |
40 | 40 | value.wrap = <li>|</li>' |
@@ -21,8 +21,8 @@ |
||
21 | 21 | { |
22 | 22 | parent::setUp(); |
23 | 23 | |
24 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/libraries.csv'); |
|
25 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/metadata.csv'); |
|
24 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/libraries.csv'); |
|
25 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/metadata.csv'); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
@@ -21,11 +21,11 @@ |
||
21 | 21 | class SolrSearchTest extends FunctionalTestCase |
22 | 22 | { |
23 | 23 | private static array $databaseFixtures = [ |
24 | - __DIR__ . '/../../Fixtures/Common/solrcores.csv' |
|
24 | + __DIR__.'/../../Fixtures/Common/solrcores.csv' |
|
25 | 25 | ]; |
26 | 26 | |
27 | 27 | private static array $solrFixtures = [ |
28 | - __DIR__ . '/../../Fixtures/Common/documents_1.solr.json' |
|
28 | + __DIR__.'/../../Fixtures/Common/documents_1.solr.json' |
|
29 | 29 | ]; |
30 | 30 | |
31 | 31 | private Solr $solr; |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | $this->documentRepository = $this->initializeRepository(DocumentRepository::class, 20000); |
46 | 46 | $this->solrCoreRepository = $this->initializeRepository(SolrCoreRepository::class, 20000); |
47 | 47 | |
48 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/documents_1.csv'); |
|
49 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/libraries.csv'); |
|
50 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/metadata.csv'); |
|
48 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/documents_1.csv'); |
|
49 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/libraries.csv'); |
|
50 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/metadata.csv'); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -128,9 +128,9 @@ discard block |
||
128 | 128 | { |
129 | 129 | $core = $this->createSolrCore(); |
130 | 130 | |
131 | - $this->importCSVDataSet(__DIR__ . '/../../Fixtures/Common/documents_fulltext.csv'); |
|
132 | - $this->importSolrDocuments($core->solr, __DIR__ . '/../../Fixtures/Common/documents_1.solr.json'); |
|
133 | - $this->importSolrDocuments($core->solr, __DIR__ . '/../../Fixtures/Common/documents_fulltext.solr.json'); |
|
131 | + $this->importCSVDataSet(__DIR__.'/../../Fixtures/Common/documents_fulltext.csv'); |
|
132 | + $this->importSolrDocuments($core->solr, __DIR__.'/../../Fixtures/Common/documents_1.solr.json'); |
|
133 | + $this->importSolrDocuments($core->solr, __DIR__.'/../../Fixtures/Common/documents_fulltext.solr.json'); |
|
134 | 134 | |
135 | 135 | $collections = $this->collectionRepository->findCollectionsBySettings([ |
136 | 136 | 'index_name' => ['Musik', 'Projekt: Dresdner Hefte'], |
@@ -23,13 +23,13 @@ |
||
23 | 23 | private $solrCoreRepository; |
24 | 24 | |
25 | 25 | private static array $databaseFixtures = [ |
26 | - __DIR__ . '/../../Fixtures/Common/documents_1.csv', |
|
27 | - __DIR__ . '/../../Fixtures/Common/pages.csv', |
|
28 | - __DIR__ . '/../../Fixtures/Common/solrcores.csv' |
|
26 | + __DIR__.'/../../Fixtures/Common/documents_1.csv', |
|
27 | + __DIR__.'/../../Fixtures/Common/pages.csv', |
|
28 | + __DIR__.'/../../Fixtures/Common/solrcores.csv' |
|
29 | 29 | ]; |
30 | 30 | |
31 | 31 | private static array $solrFixtures = [ |
32 | - __DIR__ . '/../../Fixtures/Common/documents_1.solr.json' |
|
32 | + __DIR__.'/../../Fixtures/Common/documents_1.solr.json' |
|
33 | 33 | ]; |
34 | 34 | |
35 | 35 | public function setUp(): void |