Skip to content

Commit

Permalink
Update unit tests: endpoint -> shard
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Dec 23, 2016
1 parent 7e7dbaf commit 7b5d46c
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
null,
null,
array(),
'No endpoints defined',
'No shards defined',
),
1 => array(
array(),
Expand All @@ -840,7 +840,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
'languages' => array(),
'useAlwaysAvailable' => true,
),
'No endpoints defined',
'No shards defined',
),
2 => array(
array(),
Expand All @@ -850,7 +850,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
'languages' => array(),
'useAlwaysAvailable' => false,
),
'No endpoints defined',
'No shards defined',
),
3 => array(
array(),
Expand All @@ -862,7 +862,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
),
'useAlwaysAvailable' => true,
),
'No endpoints defined',
'No shards defined',
),
// Will try to map translation
4 => array(
Expand All @@ -875,7 +875,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
),
'useAlwaysAvailable' => false,
),
"Language 'eng-GB' is not mapped to Solr endpoint",
"Language 'eng-GB' is not mapped to Solr shard",
),
5 => array(
array(),
Expand All @@ -887,7 +887,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
),
'useAlwaysAvailable' => true,
),
"Language 'eng-GB' is not mapped to Solr endpoint",
"Language 'eng-GB' is not mapped to Solr shard",
),
6 => array(
array(),
Expand All @@ -899,7 +899,7 @@ public function providerForTestGetSearchTargetsThrowsRuntimeException()
),
'useAlwaysAvailable' => false,
),
"Language 'eng-GB' is not mapped to Solr endpoint",
"Language 'eng-GB' is not mapped to Solr shard",
),
);
}
Expand Down

0 comments on commit 7b5d46c

Please sign in to comment.