1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
||
16 | class UtilsTest extends TestCase { |
||
17 | |||
18 | /** |
||
19 | * This method is called after each test. |
||
20 | */ |
||
21 | public function tearDown() { |
||
24 | |||
25 | /** |
||
26 | * Utils::get_jetpack_api_version should return the JETPACK__API_VERSION |
||
27 | * constant when the constant is defined. |
||
28 | * |
||
29 | * @covers Automattic\Jetpack\Connection\Utils::get_jetpack_api_version |
||
30 | */ |
||
31 | public function test_get_jetpack_api_version_with_constant() { |
||
36 | |||
37 | /** |
||
38 | * Utils::get_jetpack_api_version should return the default Jetpack API version |
||
39 | * value when the JETPACK__API_VERSION constant is not defined. |
||
40 | */ |
||
41 | public function test_get_jetpack_api_version_without_constant() { |
||
44 | } |
||
45 |