Skip to content

Commit

Permalink
Revert modification of tests to keep B/C
Browse files Browse the repository at this point in the history
  • Loading branch information
ScopeyNZ committed Jul 17, 2018
1 parent b60bdab commit fac6a03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/TagFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function testItSuggestsTags()
$request = $this->getNewRequest(array('term' => 'Tag'));

$this->assertEquals(
'{"items":[{"Title":"Tag1","Value":"Tag1"}]}',
'{"items":[{"id":"Tag1","text":"Tag1"}]}',
$field->suggest($request)->getBody()
);

Expand All @@ -190,7 +190,7 @@ public function testItSuggestsTags()
$request = $this->getNewRequest(array('term' => '222'));

$this->assertEquals(
'{"items":[{"Title":"222","Value":"222"}]}',
'{"items":[{"id":"222","text":"222"}]}',
$field->suggest($request)->getBody()
);

Expand All @@ -200,7 +200,7 @@ public function testItSuggestsTags()
$request = $this->getNewRequest(array('term' => 'TAG1'));

$this->assertEquals(
'{"items":[{"Title":"Tag1","Value":"Tag1"}]}',
'{"items":[{"id":"Tag1","text":"Tag1"}]}',
$field->suggest($request)->getBody()
);

Expand Down Expand Up @@ -229,7 +229,7 @@ public function testRestrictedSuggestions()
$request = $this->getNewRequest(array('term' => 'Tag'));

$this->assertEquals(
'{"items":[{"Title":"Tag1","Value":"Tag1"}]}',
'{"items":[{"id":"Tag1","text":"Tag1"}]}',
$field->suggest($request)->getBody()
);

Expand All @@ -239,7 +239,7 @@ public function testRestrictedSuggestions()
$request = $this->getNewRequest(array('term' => 'Tag1'));

$this->assertEquals(
'{"items":[{"Title":"Tag1","Value":"Tag1"}]}',
'{"items":[{"id":"Tag1","text":"Tag1"}]}',
$field->suggest($request)->getBody()
);

Expand Down

0 comments on commit fac6a03

Please # to comment.