Skip to content

Commit 8817aee

Browse files
committed
Skip tag_subscribers() tests for API Keys
1 parent c0c4351 commit 8817aee

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

tests/ConvertKitAPIKeyTest.php

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public function testCreateTagsThatExist()
276276
* Test that tag_subscribers() throws a ClientException when attempting
277277
* to tag subscribers, as this is only supported using OAuth.
278278
*
279-
* @since 2.2.0
279+
* @since 2.2.1
280280
*
281281
* @return void
282282
*/
@@ -293,6 +293,32 @@ public function testTagSubscribers()
293293
);
294294
}
295295

296+
/**
297+
* Skip this test from ConvertKitAPITest, as testTagSubscribers() above
298+
* confirms a ClientException is thrown.
299+
*
300+
* @since 2.2.1
301+
*
302+
* @return void
303+
*/
304+
public function testTagSubscribersWithInvalidTagID()
305+
{
306+
$this->markTestSkipped('testTagSubscribers() above confirms a ClientException is thrown.');
307+
}
308+
309+
/**
310+
* Skip this test from ConvertKitAPITest, as testTagSubscribers() above
311+
* confirms a ClientException is thrown.
312+
*
313+
* @since 2.2.1
314+
*
315+
* @return void
316+
*/
317+
public function testTagSubscribersWithInvalidSubscriberID()
318+
{
319+
$this->markTestSkipped('testTagSubscribers() above confirms a ClientException is thrown.');
320+
}
321+
296322
/**
297323
* Test that add_subscribers_to_forms() throws a ClientException when
298324
* attempting to add subscribers to forms, as this is only supported

0 commit comments

Comments
 (0)