Skip to content

Commit 7380a73

Browse files
committed
Extended tests
1 parent 7276c75 commit 7380a73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Unit/ResponseTaggerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ public function testUniqueTags()
139139

140140
$tagHandler = new ResponseTagger(['header_formatter' => $headerFormatter, 'strict' => true]);
141141
$tagHandler->addTags(['post-1', 'post-2', 'post-1']);
142+
$tagHandler->addTags(['post-2', 'post-3']);
142143
$this->assertTrue($tagHandler->hasTags());
143144

144-
$this->assertEquals('post-1,post-2', $tagHandler->getTagsHeaderValue());
145+
$this->assertEquals('post-1,post-2,post-3', $tagHandler->getTagsHeaderValue());
145146
}
146147
}

0 commit comments

Comments
 (0)