We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1458f77 + 653536a commit 62b818dCopy full SHA for 62b818d
tests/bootstrap.php
@@ -2,15 +2,21 @@
2
/**
3
* Create WordPress Plugin Tests: Bootstrap
4
*
5
+ * phpcs:disable Squiz.Commenting.InlineComment.InvalidEndChar
6
+ *
7
* @package create-wordpress-plugin
8
*/
9
10
11
* Visit {@see https://mantle.alley.com/testing/test-framework.html} to learn more.
12
13
\Mantle\Testing\manager()
14
+ // Rsync the plugin to plugins/create-wordpress-plugin when testing.
15
->maybe_rsync_plugin()
- ->with_sqlite()
16
+
17
+ // Use SQLite for testing instead of SQL (disabled by default).
18
+ // ->with_sqlite()
19
20
// Load the main file of the plugin.
21
->loaded( fn () => require_once __DIR__ . '/../plugin.php' )
22
->install();
0 commit comments