← All changes
|
_inc/lib/debugger/class-jetpack-cxn-test-base.php
+22
-0
16.2-beta
→
16.3
View file →
| @@ -1,0 +1,22 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Legacy base class for Jetpack's debugging tests. | |
| 4 | + * | |
| 5 | + * @deprecated Use Connection_Health_Test_Base or Connection_Health_Tests from the connection package directly. | |
| 6 | + * @package automattic/jetpack | |
| 7 | + */ | |
| 8 | + | |
| 9 | +use Automattic\Jetpack\Connection\Connection_Health_Test_Base; | |
| 10 | + | |
| 11 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 12 | + exit( 0 ); | |
| 13 | +} | |
| 14 | + | |
| 15 | +/** | |
| 16 | + * "Unit Tests" for the Jetpack connection. | |
| 17 | + * | |
| 18 | + * @since 7.1.0 | |
| 19 | + * @deprecated Use Connection_Health_Test_Base or Connection_Health_Tests from the connection package directly. | |
| 20 | + */ | |
| 21 | +class Jetpack_Cxn_Test_Base extends Connection_Health_Test_Base { | |
| 22 | +} | |