From 595caa485c1ce9fb3bd900055af69c306204cf00 Mon Sep 17 00:00:00 2001 From: mickadoo Date: Tue, 14 Mar 2017 14:16:46 +0000 Subject: [PATCH] CRM-20254: set cache buster code for tests --- tests/phpunit/CRM/Core/ResourcesTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CRM/Core/ResourcesTest.php b/tests/phpunit/CRM/Core/ResourcesTest.php index 693ad2039a..edc675b047 100644 --- a/tests/phpunit/CRM/Core/ResourcesTest.php +++ b/tests/phpunit/CRM/Core/ResourcesTest.php @@ -361,6 +361,7 @@ class CRM_Core_ResourcesTest extends CiviUnitTestCase { */ public function testAddingCacheCode($url, $expected) { $resources = CRM_Core_Resources::singleton(); + $resources->setCacheCode($this->cacheBusterString); $this->assertEquals($expected, $resources->addCacheCode($url)); } -- 2.25.1