@@ -377,8 +377,11 @@ public function executeAsyncExistRequest($caller, $method, $endpointParams, $exp
377
377
*/
378
378
public function operationIsFalse ($ operation , $ lastOperationResult , &$ context , $ testName )
379
379
{
380
- $ msg = "Failed to assert that a value is false in test \"$ testName \"\n" .var_export ($ lastOperationResult , true );
381
- static ::assertFalse ((bool )$ this ->resolveValue ($ lastOperationResult , $ operation , $ context ), $ msg );
380
+ $ value = (bool )$ this ->resolveValue ($ lastOperationResult , $ operation , $ context );
381
+ $ msg = "Failed to assert that a value is false in test \"$ testName \"\n"
382
+ ."$ operation was [ $ value] "
383
+ .var_export ($ lastOperationResult , true );
384
+ static ::assertFalse ($ value , $ msg );
382
385
383
386
return $ lastOperationResult ;
384
387
}
@@ -394,7 +397,9 @@ public function operationIsTrue($operation, $lastOperationResult, &$context, $te
394
397
{
395
398
$ value = $ this ->resolveValue ($ lastOperationResult , $ operation , $ context );
396
399
397
- $ msg = "Failed to assert that a value is true in test \"$ testName \"\n" .var_export ($ lastOperationResult , true );
400
+ $ msg = "Failed to assert that a value is true in test \"$ testName \"\n"
401
+ ."$ operation was [ $ value] "
402
+ .var_export ($ lastOperationResult , true );
398
403
static ::assertNotEquals (0 , $ value , $ msg );
399
404
static ::assertNotFalse ($ value , $ msg );
400
405
static ::assertNotNull ($ value , $ msg );
0 commit comments