diff --git a/tests/phpunit/unit/test-ghostkit-class.php b/tests/phpunit/unit/test-ghostkit-class.php new file mode 100644 index 00000000..367c8f77 --- /dev/null +++ b/tests/phpunit/unit/test-ghostkit-class.php @@ -0,0 +1,49 @@ +plugin_path; + + $this->assertEquals( $defined_path, $plugin_path ); + } + + /** + * Plugin Url test. + */ + public function test_plugin_url() { + $defined_url = 'http://localhost:8889/wp-content/plugins/var/www/html/wp-content/plugins/ghostkit/'; + $plugin_url = ghostkit()->plugin_url; + + $this->assertEquals( $defined_url, $plugin_url ); + } +}