Skip to content

Commit 7150507

Browse files
committed
Fix tests
1 parent 8480d84 commit 7150507

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ConvertKitAPITest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,10 @@ public function testUpdateTagName()
17351735
tag_id: (int) $_ENV['CONVERTKIT_API_TAG_ID'],
17361736
name: $_ENV['CONVERTKIT_API_TAG_NAME'],
17371737
);
1738+
1739+
// Assert existing tag is returned.
1740+
$this->assertEquals($result->tag->id, (int) $_ENV['CONVERTKIT_API_TAG_ID']);
1741+
$this->assertEquals($result->tag->name, $_ENV['CONVERTKIT_API_TAG_NAME']);
17381742
}
17391743

17401744
/**

0 commit comments

Comments
 (0)