We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c152255 + cbaf9fc commit f4c682cCopy full SHA for f4c682c
Classes/ActorTraits/Rest.php
@@ -58,6 +58,8 @@ public function theApiResponseIsValidJson()
58
public function theApiResponseShouldReturnJsonStringWithFields(TableNode $table)
59
{
60
foreach ($table->getRows() as $index => $row) {
61
+ $row[1] = $row[1] === 'true' ? true : $row[1];
62
+ $row[1] = $row[1] === 'false' ? false : $row[1];
63
$this->seeResponseContainsJson([$row[0] => $row[1]]);
64
}
65
0 commit comments