Skip to:
Content

  • Home
  • About
  • Integrations
  • Help
  • Blog
  • Download
Automator Developer Resources

Code Reference

  • Home
  • Reference
Filter by type:
Search
Browse: Home / Reference / Classes / Test_Import / Test_Import::test_set_status_exception()

Test_Import::test_set_status_exception()


Source

File: tests/test-import.php

	public function test_set_status_exception() {

		$item['ID'] = -1;
		$item['status'] = 'non-valid-status';

		$this->expectException(\Exception::class);

		$recipe_id = $this->importer->set_status( $item );
	}

Expand full source code Collapse full source code View on Github


Twitter • Facebook • YouTube • Contact Us • Privacy • Terms of Service