Skip to content

Commit

Permalink
Merge pull request #28913 from eileenmcnaughton/570_ornery
Browse files Browse the repository at this point in the history
Make fail-heavy test as ornery
  • Loading branch information
totten authored Jan 9, 2024
2 parents 2a955bc + a1456f3 commit baad5cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/phpunit/E2E/Core/AssetBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ public function testGetUrl_uncached($asset, $params, $expectedMimeType, $expecte
$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');
Expand Down

0 comments on commit baad5cd

Please sign in to comment.