release: 3.0.0-rc.1

This commit is contained in:
Nuno Maduro
2024-08-22 21:36:19 +01:00
parent 2c6c3119d2
commit ecdbe7a472
6 changed files with 1577 additions and 5 deletions

View File

@ -20,7 +20,9 @@ it('does not allow to add the same test description twice', function () {
it('does not allow static closures', function () {
$testSuite = new TestSuite(getcwd(), 'tests');
$method = new TestCaseMethodFactory('foo', 'bar', static function () {});
$method = new TestCaseMethodFactory('foo', static function () {});
$method->description = 'bar';
$testSuite->tests->set($method);
})->throws(