mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removed whitespaces
This commit is contained in:
parent
19c754bf9a
commit
630062c0e0
@ -45,9 +45,9 @@ class FulltextFilterTest extends SapphireTest {
|
|||||||
$filter1->setModel('FulltextFilterTest_DataObject');
|
$filter1->setModel('FulltextFilterTest_DataObject');
|
||||||
$query1 = FulltextFilterTest_DataObject::get()->dataQuery();
|
$query1 = FulltextFilterTest_DataObject::get()->dataQuery();
|
||||||
$filter1->apply($query1);
|
$filter1->apply($query1);
|
||||||
$this->assertNotEquals('"ColumnA", "ColumnB"', $filter1->getDbName());
|
$this->assertNotEquals('"ColumnA","ColumnB"', $filter1->getDbName());
|
||||||
$this->assertNotEquals(
|
$this->assertNotEquals(
|
||||||
array("MATCH (\"ColumnA\", \"ColumnB\") AGAINST ('SilverStripe')"),
|
array("MATCH (\"ColumnA\",\"ColumnB\") AGAINST ('SilverStripe')"),
|
||||||
$query1->query()->getWhere()
|
$query1->query()->getWhere()
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -56,9 +56,9 @@ class FulltextFilterTest extends SapphireTest {
|
|||||||
$filter1->setModel('FulltextFilterTest_DataObject');
|
$filter1->setModel('FulltextFilterTest_DataObject');
|
||||||
$query1 = FulltextFilterTest_DataObject::get()->dataQuery();
|
$query1 = FulltextFilterTest_DataObject::get()->dataQuery();
|
||||||
$filter1->apply($query1);
|
$filter1->apply($query1);
|
||||||
$this->assertEquals('"FulltextFilterTest_DataObject"."ColumnA", "FulltextFilterTest_DataObject"."ColumnB"', $filter1->getDbName());
|
$this->assertEquals('"FulltextFilterTest_DataObject"."ColumnA","FulltextFilterTest_DataObject"."ColumnB"', $filter1->getDbName());
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
array("MATCH (\"FulltextFilterTest_DataObject\".\"ColumnA\", \"FulltextFilterTest_DataObject\".\"ColumnB\") AGAINST ('SilverStripe')"),
|
array("MATCH (\"FulltextFilterTest_DataObject\".\"ColumnA\",\"FulltextFilterTest_DataObject\".\"ColumnB\") AGAINST ('SilverStripe')"),
|
||||||
$query1->query()->getWhere()
|
$query1->query()->getWhere()
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -67,9 +67,9 @@ class FulltextFilterTest extends SapphireTest {
|
|||||||
$filter2->setModel('FulltextFilterTest_DataObject');
|
$filter2->setModel('FulltextFilterTest_DataObject');
|
||||||
$query2 = FulltextFilterTest_DataObject::get()->dataQuery();
|
$query2 = FulltextFilterTest_DataObject::get()->dataQuery();
|
||||||
$filter2->apply($query2);
|
$filter2->apply($query2);
|
||||||
$this->assertEquals('"FulltextFilterTest_DataObject"."ColumnC", "FulltextFilterTest_DataObject"."ColumnD"', $filter2->getDbName());
|
$this->assertEquals('"FulltextFilterTest_DataObject"."ColumnC","FulltextFilterTest_DataObject"."ColumnD"', $filter2->getDbName());
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
array("MATCH (\"FulltextFilterTest_DataObject\".\"ColumnC\", \"FulltextFilterTest_DataObject\".\"ColumnD\") AGAINST ('SilverStripe')"),
|
array("MATCH (\"FulltextFilterTest_DataObject\".\"ColumnC\",\"FulltextFilterTest_DataObject\".\"ColumnD\") AGAINST ('SilverStripe')"),
|
||||||
$query2->query()->getWhere()
|
$query2->query()->getWhere()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user