Skip to content

Commit

Permalink
FIX Loosen assertions in case extension provide extra columns in glob…
Browse files Browse the repository at this point in the history
…al state
  • Loading branch information
robbieaverill committed May 29, 2018
1 parent 02db1cc commit 614b525
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions tests/CommentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1206,16 +1206,11 @@ public function testReplyForm()
array_push($names, $field->getName());
}

$this->assertEquals(
array(
'NameEmailURLComment', // The CompositeField name?
'ParentID',
'ParentClassName',
'ReturnURL',
'ParentCommentID'
),
$names
);
$this->assertContains('NameEmailURLComment', $names, 'The CompositeField name');
$this->assertContains('ParentID', $names);
$this->assertContains('ParentClassName', $names);
$this->assertContains('ReturnURL', $names);
$this->assertContains('ParentCommentID', $names);

// no parent, no reply form

Expand Down

0 comments on commit 614b525

Please sign in to comment.