projects/plugins/jetpack/tests/php/modules/masterbar/test-class-atomic-admin-menu.php 1 location
|
@@ 320-328 (lines=9) @@
|
317 |
|
* |
318 |
|
* @covers ::jetpack_parent_file |
319 |
|
*/ |
320 |
|
public function test_jetpack_parent_file() { |
321 |
|
$parent_file = 'edit.php'; |
322 |
|
$this->assertSame( $parent_file, static::$admin_menu->jetpack_parent_file( $parent_file ) ); |
323 |
|
|
324 |
|
$this->assertSame( |
325 |
|
'https://wordpress.com/activity-log/' . static::$domain, |
326 |
|
static::$admin_menu->jetpack_parent_file( 'jetpack' ) |
327 |
|
); |
328 |
|
} |
329 |
|
|
330 |
|
/** |
331 |
|
* Tests add_users_menu |
projects/plugins/jetpack/tests/php/modules/masterbar/test-class-wpcom-admin-menu.php 1 location
|
@@ 299-307 (lines=9) @@
|
296 |
|
* |
297 |
|
* @covers ::jetpack_parent_file |
298 |
|
*/ |
299 |
|
public function test_jetpack_parent_file() { |
300 |
|
$parent_file = 'edit.php'; |
301 |
|
$this->assertSame( $parent_file, static::$admin_menu->jetpack_parent_file( $parent_file ) ); |
302 |
|
|
303 |
|
$this->assertSame( |
304 |
|
'https://wordpress.com/activity-log/' . static::$domain, |
305 |
|
static::$admin_menu->jetpack_parent_file( 'jetpack' ) |
306 |
|
); |
307 |
|
} |
308 |
|
|
309 |
|
/** |
310 |
|
* Tests add_plugins_menu |