php_zip icon indicating copy to clipboard operation
php_zip copied to clipboard

1 test case is failing on power and intel as well.

Open rajusah15 opened this issue 3 years ago • 1 comments

I have used: php:7.4 and installed other dependencies

Error Logs:

1) /r/php_zip/tests/bug38943.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-array(1) {
-  [0]=>
-  int(1)
-}
-object(myZip)#1 (%d) {
-  ["test":"myZip":private]=>
-  int(0)
-  ["testp"]=>
-  string(6) "foobar"
-  ["testarray":"myZip":private]=>
-  array(1) {
-    [0]=>
-    int(1)
-  }
-  ["lastId"]=>
-  int(-1)
-  ["status"]=>
-  int(0)
-  ["statusSys"]=>
-  int(0)
-  ["numFiles"]=>
-  int(0)
-  ["filename"]=>
-  string(0) ""
-  ["comment"]=>
-  string(0) ""
-}
+Warning: include(bug38943.inc): failed to open stream: No such file or directory in Standard input code on line 2
+
+Warning: include(): Failed opening 'bug38943.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in Standard input code on line 2

/r/php_zip/tests/bug38943.phpt:12
phpvfscomposer:///r/php_zip/vendor/phpunit/phpunit/phpunit:97

FAILURES!
Tests: 97, Assertions: 97, Failures: 1, Skipped: 96.

can u pls help me out what i need to do further to make it pass

rajusah15 avatar Aug 23 '22 09:08 rajusah15

Please run the tests again, but not with PHPUnit, but rather with PHP's test runner (run-tests.php).

cmb69 avatar Aug 23 '22 09:08 cmb69