Skip to content

Commit

Permalink
Merge pull request #280 from alleyinteractive/feature/sqlite-opt-out
Browse files Browse the repository at this point in the history
Disable SQLite by default
  • Loading branch information
srtfisher authored Nov 15, 2023
2 parents 1458f77 + 653536a commit 62b818d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
/**
* Create WordPress Plugin Tests: Bootstrap
*
* phpcs:disable Squiz.Commenting.InlineComment.InvalidEndChar
*
* @package create-wordpress-plugin
*/

/**
* Visit {@see https://mantle.alley.com/testing/test-framework.html} to learn more.
*/
\Mantle\Testing\manager()
// Rsync the plugin to plugins/create-wordpress-plugin when testing.
->maybe_rsync_plugin()
->with_sqlite()

// Use SQLite for testing instead of SQL (disabled by default).
// ->with_sqlite()

// Load the main file of the plugin.
->loaded( fn () => require_once __DIR__ . '/../plugin.php' )
->install();

0 comments on commit 62b818d

Please sign in to comment.