/
home
/
sjslayjy
/
public_html
/
theweavenest
/
vendor
/
phpunit
/
phpunit
/
tests
/
end-to-end
/
generic
/
Upload File
HOME
--TEST-- phpunit ../../_files/AssertionExampleTest.php --SKIPIF-- <?php declare(strict_types=1); if (ini_get('zend.assertions') != 1) { print 'skip: zend.assertions=1 is required' . PHP_EOL; } if (ini_get('assert.exception') != 1) { print 'skip: assert.exception=1 is required' . PHP_EOL; } --FILE-- <?php declare(strict_types=1); $_SERVER['argv'][] = '--do-not-cache-result'; $_SERVER['argv'][] = '--no-configuration'; $_SERVER['argv'][] = __DIR__ . '/../../_files/AssertionExampleTest.php'; require_once __DIR__ . '/../../bootstrap.php'; PHPUnit\TextUI\Command::main(); --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. F 1 / 1 (100%) Time: %s, Memory: %s There was 1 failure: 1) AssertionExampleTest::testOne assert(false) in %sAssertionExample.php:%d Caused by AssertionError: assert(false) in %sAssertionExample.php:%d Stack trace: %A FAILURES! Tests: 1, Assertions: 1, Failures: 1.