Assert Value is equal to Array Value

Posted 3 months ago by DawgOnKing

Given the following:

$array = ['ONE', 'TWO', 'THREE'];
$value = 'TWO'

How do I assert the following:

$this->assertEquals($value, $array->value);

So, $value equals a single value in $array...

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.