TestGlobalFunctions::test_automator_get_integration_by_name()
Source
File: tests/test-global-functions.php
public function test_automator_get_integration_by_name() { // Should match the value. $this->assertSame("wp", automator_get_integration_by_name("WP") ); // Should match blank value if integration doesn't exists. $this->assertSame("", automator_get_integration_by_name("THIS-INTEGRATION-DOESNT-EXISTS") ); // Should match blank value if integration doesn't exists. // this should return true or match. $this->assertSame("wp", automator_get_integration_by_name("WORDPRESS") ); }
Expand full source code Collapse full source code View on Github