File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -303,52 +303,6 @@ public function testTagSubscribers()
303303 );
304304 }
305305
306- /**
307- * Test that tag_subscribers() throws a ClientException when an invalid
308- * tag ID is specified, as this is only supported using OAuth.
309- *
310- * @since 2.2.1
311- *
312- * @return void
313- */
314- public function testTagSubscribersWithInvalidTagID ()
315- {
316- $ this ->expectException (ClientException::class);
317- $ result = $ this ->api ->tag_subscribers (
318- [
319- [
320- 'tag_id ' => 12345 ,
321- 'subscriber_id ' => (int ) $ _ENV ['CONVERTKIT_API_SUBSCRIBER_ID ' ]
322- ],
323- ]
324- );
325- }
326-
327- /**
328- * Test that tag_subscribers() throws a ClientException when an invalid
329- * subscriber ID is specified, as this is only supported using OAuth.
330- *
331- * @since 2.2.1
332- *
333- * @return void
334- */
335- public function testTagSubscribersWithInvalidSubscriberID ()
336- {
337- $ this ->expectException (ClientException::class);
338- $ result = $ this ->api ->tag_subscribers (
339- [
340- [
341- 'tag_id ' => (int ) $ _ENV ['CONVERTKIT_API_TAG_ID ' ],
342- 'subscriber_id ' => 12345 ,
343- ],
344- [
345- 'tag_id ' => (int ) $ _ENV ['CONVERTKIT_API_TAG_ID ' ],
346- 'subscriber_id ' => 67890 ,
347- ],
348- ]
349- );
350- }
351-
352306 /**
353307 * Test that add_subscribers_to_forms() throws a ClientException when
354308 * attempting to add subscribers to forms, as this is only supported
You can’t perform that action at this time.
0 commit comments