Skip to content

Commit 5db3744

Browse files
committed
fix: update unit tests
1 parent 60e3f45 commit 5db3744

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/licenser-test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function test_licenser_can_load_partner() {
6969
*/
7070
public function test_licenser_can_load() {
7171

72-
$file = dirname( __FILE__ ) . '/sample_products/sample_plugin/plugin_file.php';
72+
$file = dirname( __FILE__ ) . '/sample_products/sample_pro_plugin/plugin_file.php';
7373
$product = new \ThemeisleSDK\Product( $file );
7474

7575
$this->assertTrue( ( new \ThemeisleSDK\Modules\Licenser() )->can_load( $product ) );

tests/sample_products/sample_plugin/plugin_file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GPL-2.0+
99
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1010
* Text Domain: sample-plugin
11-
* WordPress Available: no
11+
* WordPress Available: yes
1212
* Requires License: no
1313
*/
1414

tests/sample_products/sample_pro_plugin/plugin_file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1010
* Text Domain: sample-pro-plugin
1111
* WordPress Available: no
12-
* Requires License: no
12+
* Requires License: es
1313
*/
1414

1515
require_once 'vendor/load.php';

0 commit comments

Comments
 (0)