From: eileen Date: Fri, 5 Jan 2024 23:57:38 +0000 (+1300) Subject: Make fail-heavy test as ornery X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a1456f35880c385e715d586fa1629808a56f9ebf;p=civicrm-core.git Make fail-heavy test as ornery --- 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');