Skip to content

Commit

Permalink
Remove test plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshpanchal27 committed Feb 9, 2024
1 parent 87f3a04 commit 852775d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 25 deletions.
3 changes: 0 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
<testsuite name="auto-sizes">
<directory suffix=".php">./tests/plugins/auto-sizes</directory>
</testsuite>
<testsuite name="test-plugin">
<directory suffix=".php">./tests/plugins/test-plugin</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
Expand Down
Empty file removed plugins/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ static function () {
tests_add_filter(
'plugins_loaded',
static function () use ( $plugin_test_path, $plugin_name ) {
// Check if plugin have "plugin/plugin.php" file.
// Check if plugin has a "plugin/plugin.php" file.
if ( file_exists( $plugin_test_path . '/' . $plugin_name . '.php' ) ) {
require_once $plugin_test_path . '/' . $plugin_name . '.php';
return;
}

// Check if plugin have "plugin/load.php" file.
// Check if plugin has a "plugin/load.php" file.
if ( file_exists( $plugin_test_path . '/load.php' ) ) {
require_once $plugin_test_path . '/load.php';
}
Expand Down
20 changes: 0 additions & 20 deletions tests/plugins/test-plugin/test-plugin.php

This file was deleted.

0 comments on commit 852775d

Please sign in to comment.