From 970f54bcb901c3a5ad857ebcf14c6436558db3cd Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Tue, 3 May 2022 12:27:17 +0200 Subject: [PATCH] tests: fix running tests on local machine (mac m1) --- src/DataBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataBuilder.php b/src/DataBuilder.php index 80a11587..02584e73 100644 --- a/src/DataBuilder.php +++ b/src/DataBuilder.php @@ -179,7 +179,7 @@ protected function setLocalVarsDump($config) $this->localVarsDump = self::$defaults->localVarsDump($fromConfig); if ($this->localVarsDump && !empty(ini_get('zend.exception_ignore_args'))) { ini_set('zend.exception_ignore_args', 'Off'); - assert(empty(ini_get('zend.exception_ignore_args'))); + assert(empty(ini_get('zend.exception_ignore_args')) || ini_get('zend.exception_ignore_args') === "Off"); } }