V3 fix/phpunit (#1024)

This commit is contained in:
Jerry Ma
2026-02-06 17:02:36 +08:00
committed by GitHub
parent 7c3ac484b3
commit 041b08f10f
5 changed files with 139 additions and 131 deletions

View File

@@ -582,7 +582,7 @@ class ConfigValidatorTest extends TestCase
public function testValidateAndLintPackagesThrowsExceptionForWrongTypeString(): void
{
$this->expectException(ValidationException::class);
$this->expectExceptionMessage('Package test-pkg [artifact] must be string');
$this->expectExceptionMessage('Package test-pkg [artifact] has invalid type specification');
$data = [
'test-pkg' => [