@@ -22,7 +22,7 @@ public static function wpTearDownAfterClass() {
2222 }
2323
2424 public function test_get_plugin_data () {
25- $ data = get_plugin_data ( DIR_TESTDATA . '/plugins/hello-dolly/hello .php ' );
25+ $ data = get_plugin_data ( DIR_TESTDATA . '/plugins/hello.php ' );
2626
2727 $ default_headers = array (
2828 'Name ' => 'Hello Dolly ' ,
@@ -374,38 +374,38 @@ public function test_passing_float_as_position_does_not_override_int() {
374374 }
375375
376376 public function test_is_plugin_active_true () {
377- activate_plugin ( 'hello-dolly/hello .php ' );
378- $ test = is_plugin_active ( 'hello-dolly/hello .php ' );
377+ activate_plugin ( 'hello.php ' );
378+ $ test = is_plugin_active ( 'hello.php ' );
379379 $ this ->assertTrue ( $ test );
380380
381- deactivate_plugins ( 'hello-dolly/hello .php ' );
381+ deactivate_plugins ( 'hello.php ' );
382382 }
383383
384384 public function test_is_plugin_active_false () {
385- deactivate_plugins ( 'hello-dolly/hello .php ' );
386- $ test = is_plugin_active ( 'hello-dolly/hello .php ' );
385+ deactivate_plugins ( 'hello.php ' );
386+ $ test = is_plugin_active ( 'hello.php ' );
387387 $ this ->assertFalse ( $ test );
388388 }
389389
390390 public function test_is_plugin_inactive_true () {
391- deactivate_plugins ( 'hello-dolly/hello .php ' );
392- $ test = is_plugin_inactive ( 'hello-dolly/hello .php ' );
391+ deactivate_plugins ( 'hello.php ' );
392+ $ test = is_plugin_inactive ( 'hello.php ' );
393393 $ this ->assertTrue ( $ test );
394394 }
395395
396396 public function test_is_plugin_inactive_false () {
397- activate_plugin ( 'hello-dolly/hello .php ' );
398- $ test = is_plugin_inactive ( 'hello-dolly/hello .php ' );
397+ activate_plugin ( 'hello.php ' );
398+ $ test = is_plugin_inactive ( 'hello.php ' );
399399 $ this ->assertFalse ( $ test );
400400
401- deactivate_plugins ( 'hello-dolly/hello .php ' );
401+ deactivate_plugins ( 'hello.php ' );
402402 }
403403
404404 /**
405405 * @covers ::get_plugin_files
406406 */
407407 public function test_get_plugin_files_single () {
408- $ name = 'hello-dolly/hello .php ' ;
408+ $ name = 'hello.php ' ;
409409 $ this ->assertSame ( array ( $ name ), get_plugin_files ( $ name ) );
410410 }
411411
@@ -550,7 +550,7 @@ public function test_get_dropins_not_empty() {
550550 * @covers ::is_network_only_plugin
551551 */
552552 public function test_is_network_only_plugin_hello () {
553- $ this ->assertFalse ( is_network_only_plugin ( 'hello-dolly/hello .php ' ) );
553+ $ this ->assertFalse ( is_network_only_plugin ( 'hello.php ' ) );
554554 }
555555
556556 /**
@@ -570,7 +570,7 @@ public function test_is_network_only_plugin() {
570570 * @covers ::activate_plugins
571571 */
572572 public function test_activate_plugins_single_no_array () {
573- $ name = 'hello-dolly/hello .php ' ;
573+ $ name = 'hello.php ' ;
574574 activate_plugins ( $ name );
575575 $ this ->assertTrue ( is_plugin_active ( $ name ) );
576576 deactivate_plugins ( $ name );
@@ -580,7 +580,7 @@ public function test_activate_plugins_single_no_array() {
580580 * @covers ::activate_plugins
581581 */
582582 public function test_activate_plugins_single_array () {
583- $ name = 'hello-dolly/hello .php ' ;
583+ $ name = 'hello.php ' ;
584584 activate_plugins ( array ( $ name ) );
585585 $ this ->assertTrue ( is_plugin_active ( $ name ) );
586586 deactivate_plugins ( $ name );
0 commit comments