Skip to content
Snippets Groups Projects
Commit a2c42df9 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Wersja wtyczki w testach jednostkowych

parent 8533051f
No related branches found
No related tags found
1 merge request!7Merge of devel-plugin-version to devel
......@@ -32,6 +32,9 @@ class Test_WPDesk_Plugin_Template_Factory extends TestCase {
'return_arg' => 0
] );
$plugin_version = '1.0';
define( 'PLUGIN_TEMPLATE_VERSION', $plugin_version );
$factory = new WPDesk_Plugin_Template_Factory();
$this->assertInstanceOf( WPDesk_Plugin_Template_Plugin::class, $factory::build_plugin() );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment