From a1456f35880c385e715d586fa1629808a56f9ebf Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 6 Jan 2024 12:57:38 +1300 Subject: [PATCH] Make fail-heavy test as ornery --- tests/phpunit/E2E/Core/AssetBuilderTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/phpunit/E2E/Core/AssetBuilderTest.php b/tests/phpunit/E2E/Core/AssetBuilderTest.php index 699628319a..54e5a81371 100644 --- a/tests/phpunit/E2E/Core/AssetBuilderTest.php +++ b/tests/phpunit/E2E/Core/AssetBuilderTest.php @@ -166,6 +166,11 @@ class AssetBuilderTest extends \CiviEndToEndTestCase { $this->assertEquals($expectedContent, $asset['content']); } + /** + * @group ornery + * + * @throws \GuzzleHttp\Exception\GuzzleException + */ public function testInvalid(): void { \Civi::service('asset_builder')->setCacheEnabled(FALSE); $url = \Civi::service('asset_builder')->getUrl('invalid.json'); -- 2.25.1