File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -247,39 +247,29 @@ public function testCreateTags()
247247 }
248248
249249 /**
250- * Test that create_tags() throws a ClientException when attempting
251- * to create blank tags, as this is only supported using OAuth .
250+ * Skip this test from ConvertKitAPITest, as testCreateTags() above
251+ * confirms a ClientException is thrown .
252252 *
253253 * @since 2.2.0
254254 *
255255 * @return void
256256 */
257257 public function testCreateTagsBlank ()
258258 {
259- $ this ->expectException (ClientException::class);
260- $ result = $ this ->api ->create_tags ([
261- '' ,
262- '' ,
263- ]);
259+ $ this ->markTestSkipped ('testCreateTags() above confirms a ClientException is thrown. ' );
264260 }
265261
266262 /**
267- * Test that create_tags() throws a ClientException when creating
268- * tags that already exists, as this is only supported using OAuth .
263+ * Skip this test from ConvertKitAPITest, as testCreateTags() above
264+ * confirms a ClientException is thrown .
269265 *
270266 * @since 2.2.0
271267 *
272268 * @return void
273269 */
274270 public function testCreateTagsThatExist ()
275271 {
276- $ this ->expectException (ClientException::class);
277- $ result = $ this ->api ->create_tags (
278- [
279- $ _ENV ['CONVERTKIT_API_TAG_NAME ' ],
280- $ _ENV ['CONVERTKIT_API_TAG_NAME_2 ' ],
281- ]
282- );
272+ $ this ->markTestSkipped ('testCreateTags() above confirms a ClientException is thrown. ' );
283273 }
284274
285275 /**
You can’t perform that action at this time.
0 commit comments