From a5b3b4966848fd7b3eea76248181b68ab413957f Mon Sep 17 00:00:00 2001 From: DQ Sully Date: Mon, 28 Dec 2015 10:52:10 -0700 Subject: [PATCH] Make comments more clear --- tests/unit/cms/classes/CmsObjectTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/cms/classes/CmsObjectTest.php b/tests/unit/cms/classes/CmsObjectTest.php index 14cc2b330..455c4bc93 100644 --- a/tests/unit/cms/classes/CmsObjectTest.php +++ b/tests/unit/cms/classes/CmsObjectTest.php @@ -143,7 +143,7 @@ class CmsObjectTest extends TestCase file_put_contents($filePath2, '

Test content 2

'); /* - * First try - both objects should be fresh + * First try - both objects should not be fresh */ $obj1 = TestTemporaryCmsObject::loadCached($theme, 'test.htm'); $this->assertEquals($obj1->content, '

Test content 1

'); @@ -154,7 +154,7 @@ class CmsObjectTest extends TestCase $this->assertFalse($obj2->isFresh()); /* - * Second try - both objects should not be fresh + * Second try - both objects should be fresh */ CmsObject::clearInternalCache(); $obj1 = TestTemporaryCmsObject::loadCached($theme, 'test.htm'); @@ -180,7 +180,7 @@ class CmsObjectTest extends TestCase $this->assertTrue($obj1->isFresh()); /* - * Modify the file again, but wait to look for change. The object should still show as changed, even after the second load. + * Modify the file again, but wait to look for change. The object should still show as not fresh, even after the second load. */ sleep(1); // Sleep a second in order to have the update file modification time file_put_contents($filePath1, '

Updated test content again

');