MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: thehunarfound (1001)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /home/thehunarfound/public_html/DMSold/vendor/phpunit/phpunit/tests/Regression/GitHub/2758.phpt
--TEST--
GH-2758: TestCase::addToAssertionCount() no longer has effect when called from TestListener::endTest()
--FILE--
<?php
$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = __DIR__ . '/2758/phpunit.xml';
$_SERVER['argv'][3] = 'Issue2758Test';
$_SERVER['argv'][4] = __DIR__ . '/2758/Issue2758Test.php';

require __DIR__ . '/../../bootstrap.php';
require __DIR__ . '/2758/Issue2758TestListener.php';

PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

.                                                                   1 / 1 (100%)

Time: %s, Memory: %s

OK (1 test, 1 assertion)