Skip to content

Commit 013ad0a

Browse files
committed
Update dummy tests for more testing
1 parent de664f9 commit 013ad0a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test-cmb-rest-registered-fields.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ public function test_wp_api_installed() {
9595
&& file_exists( $rest_api )
9696
) {
9797
require_once $rest_api;
98+
} elseif (
99+
( $rest_api = '/tmp/wordpress/wp-content/plugins/rest-api/plugin.php' )
100+
&& file_exists( $rest_api )
101+
) {
102+
require_once $rest_api;
98103
}
99104

100105
$this->assertEquals( array(

0 commit comments

Comments
 (0)