FIX Loosen assertions in case extension provide extra columns in global state

This commit is contained in:
Robbie Averill 2018-05-29 18:56:27 +12:00
parent 02db1cc86e
commit 614b525c04
No known key found for this signature in database
GPG Key ID: 3C73047F9933CBEE

View File

@ -1206,16 +1206,11 @@ class CommentsTest extends FunctionalTest
array_push($names, $field->getName()); array_push($names, $field->getName());
} }
$this->assertEquals( $this->assertContains('NameEmailURLComment', $names, 'The CompositeField name');
array( $this->assertContains('ParentID', $names);
'NameEmailURLComment', // The CompositeField name? $this->assertContains('ParentClassName', $names);
'ParentID', $this->assertContains('ReturnURL', $names);
'ParentClassName', $this->assertContains('ParentCommentID', $names);
'ReturnURL',
'ParentCommentID'
),
$names
);
// no parent, no reply form // no parent, no reply form