Commit 33b7f63f authored by Dorian Villet's avatar Dorian Villet

Fixing last part of unwanted changes to tests data.

parent 1dd0597b
......@@ -192,7 +192,7 @@ class FacetSetTest extends \PHPUnit_Framework_TestCase
new FacetPivot(
array(
'key' => 'f1',
'fields' => 'cat, inStock',
'fields' => 'cat,inStock',
'mincount' => 123,
)
)
......
......@@ -80,7 +80,7 @@ class HighlightingTest extends \PHPUnit_Framework_TestCase
$component->setTagPrefix('<i>');
$component->setTagPostfix('</i>');
$component->setMultiValuedSeparatorChar('|');
$component->setBoundaryScannerChars('., ');
$component->setBoundaryScannerChars('.,');
$component->setBoundaryScannerMaxScan(16);
$component->setBoundaryScannerType($component::BOUNDARYSCANNER_TYPE_WORD);
$component->setBoundaryScannerCountry('be');
......@@ -125,7 +125,7 @@ class HighlightingTest extends \PHPUnit_Framework_TestCase
'f.fieldB.hl.fragmenter' => 'myFragmenter',
'f.fieldB.hl.useFastVectorHighlighter' => 'true',
'hl.bs.maxScan' => 16,
'hl.bs.chars' => '., ',
'hl.bs.chars' => '.,',
'hl.bs.type' => 'WORD',
'hl.bs.country' => 'be',
'hl.bs.language' => 'en',
......
......@@ -63,7 +63,7 @@ class QueryTest extends \PHPUnit_Framework_TestCase
public function testSetAndGetFields()
{
$this->query->setFields('fieldA, fieldB');
$this->query->setFields('fieldA,fieldB');
$this->assertEquals(array('fieldA', 'fieldB'), $this->query->getFields());
}
......@@ -111,7 +111,7 @@ class QueryTest extends \PHPUnit_Framework_TestCase
public function testSetAndGetRegexFlags()
{
$this->query->setRegexFlags('case_insensitive, comments');
$this->query->setRegexFlags('case_insensitive,comments');
$this->assertEquals(array('case_insensitive', 'comments'), $this->query->getRegexFlags());
}
......
......@@ -55,14 +55,14 @@ class RequestBuilderTest extends \PHPUnit_Framework_TestCase
public function testBuildParams()
{
$this->query->setFields('fieldA, fieldB');
$this->query->setFields('fieldA,fieldB');
$this->query->setLowerbound('d');
$this->query->setLowerboundInclude(true);
$this->query->setMinCount(3);
$this->query->setMaxCount(100);
$this->query->setPrefix('de');
$this->query->setRegex('det.*');
$this->query->setRegexFlags('case_insensitive, comments');
$this->query->setRegexFlags('case_insensitive,comments');
$this->query->setLimit(50);
$this->query->setUpperbound('x');
$this->query->setUpperboundInclude(false);
......
......@@ -60,7 +60,7 @@ class ResponseParserTest extends \PHPUnit_Framework_TestCase
);
$query = new Query();
$query->setFields('fieldA, fieldB');
$query->setFields('fieldA,fieldB');
$resultStub = $this->getMock('Solarium\QueryType\Terms\Result', array(), array(), '', false);
$resultStub->expects($this->any())
......@@ -114,7 +114,7 @@ class ResponseParserTest extends \PHPUnit_Framework_TestCase
);
$query = new Query();
$query->setFields('fieldA, fieldB');
$query->setFields('fieldA,fieldB');
$resultStub = $this->getMock('Solarium\QueryType\Terms\Result', array(), array(), '', false);
$resultStub->expects($this->any())
......
......@@ -40,7 +40,7 @@ class ResponseParserTest extends \PHPUnit_Framework_TestCase
{
public function testParse()
{
$data = '{"responseHeader" : {"status":1, "QTime":15}}';
$data = '{"responseHeader" : {"status":1,"QTime":15}}';
$response = new Response($data, array('HTTP 1.1 200 OK'));
$result = new Result(null, new SelectQuery, $response);
......
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