File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/873.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/873.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/873.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 1 month ago
Size: 524 bytes
 

Contents

Class file image Download
--TEST--
GH-873: PHPUnit suppresses exceptions thrown outside of test case function
--SKIPIF--
<?php
if (PHP_MAJOR_VERSION < 7) {
    print 'skip: PHP 7 is required';
}
?>
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue873Test';
$_SERVER['argv'][3] = __DIR__ . '/873/Issue873Test.php';

require __DIR__ . '/../../../bootstrap.php';
PHPUnit\TextUI\Command::main();
?>
--EXPECTF--
%AException: PHPUnit suppresses exceptions thrown outside of test case function in %s:%i
Stack trace:
%a

For more information send a message to info at phpclasses dot org.