@@ -20,7 +20,7 @@ Feature: Export a WordPress database
2020 """
2121 And the wp_cli_test.sql file should exist
2222
23- @require-mysql-or-mariadb
23+ @skip-sqlite
2424 Scenario : Exclude tables when exporting the database
2525 Given a WP install
2626
@@ -29,7 +29,7 @@ Feature: Export a WordPress database
2929 And the contents of the wp_cli_test.sql file should not match /CREATE TABLE ["`]?wp_users[" `]?/
3030 And the contents of the wp_cli_test.sql file should match /CREATE TABLE ["`]?wp_options[" `]?/
3131
32- @require-mysql-or-mariadb
32+ @skip-sqlite
3333 Scenario : Include only specific tables when exporting the database
3434 Given a WP install
3535
@@ -46,8 +46,8 @@ Feature: Export a WordPress database
4646 When I try `wp db export wp_cli_test.sql --exclude_tables=wp_users --porcelain`
4747 Then the wp_cli_test.sql file should exist
4848 And the contents of the wp_cli_test.sql file should not match /_mysql_data_types_cache/
49- And the contents of the wp_cli_test.sql file should not match /CREATE TABLE IF NOT EXISTS ["`]?wp_users[" `]?/
50- And the contents of the wp_cli_test.sql file should match /CREATE TABLE IF NOT EXISTS ["`]?wp_options[" `]?/
49+ And the contents of the wp_cli_test.sql file should not match /CREATE TABLE ["`]?wp_users[" `]?/
50+ And the contents of the wp_cli_test.sql file should match /CREATE TABLE ["`]?wp_options[" `]?/
5151
5252 @require-sqlite
5353 Scenario : Include only specific tables when exporting the database
@@ -56,9 +56,9 @@ Feature: Export a WordPress database
5656 When I try `wp db export wp_cli_test.sql --tables=wp_users --porcelain`
5757 Then the wp_cli_test.sql file should exist
5858 And the contents of the wp_cli_test.sql file should not match /_mysql_data_types_cache/
59- And the contents of the wp_cli_test.sql file should match /CREATE TABLE IF NOT EXISTS ["`]?wp_users[" `]?/
60- And the contents of the wp_cli_test.sql file should not match /CREATE TABLE IF NOT EXISTS ["`]?wp_posts[" `]?/
61- And the contents of the wp_cli_test.sql file should not match /CREATE TABLE IF NOT EXISTS ["`]?wp_options[" `]?/
59+ And the contents of the wp_cli_test.sql file should match /CREATE TABLE ["`]?wp_users[" `]?/
60+ And the contents of the wp_cli_test.sql file should not match /CREATE TABLE ["`]?wp_posts[" `]?/
61+ And the contents of the wp_cli_test.sql file should not match /CREATE TABLE ["`]?wp_options[" `]?/
6262
6363 @require-sqlite
6464 Scenario : Export database to STDOUT
@@ -70,7 +70,7 @@ Feature: Export a WordPress database
7070 PRAGMA foreign_keys=OFF
7171 """
7272
73- @require-mysql-or-mariadb
73+ @skip-sqlite
7474 Scenario : Export database to STDOUT
7575 Given a WP install
7676
@@ -79,7 +79,7 @@ Feature: Export a WordPress database
7979 """
8080 -- Dump completed on
8181 """
82- @require-mysql-or-mariadb
82+ @skip-sqlite
8383 Scenario : Export database with mysql defaults to STDOUT
8484 Given a WP install
8585
@@ -89,7 +89,7 @@ Feature: Export a WordPress database
8989 -- Dump completed on
9090 """
9191
92- @require-mysql-or-mariadb
92+ @skip-sqlite
9393 Scenario : Export database with mysql --no-defaults to STDOUT
9494 Given a WP install
9595
@@ -99,7 +99,7 @@ Feature: Export a WordPress database
9999 -- Dump completed on
100100 """
101101
102- @require-mysql-or-mariadb
102+ @skip-sqlite
103103 Scenario : Export database with passed-in options
104104 Given a WP install
105105
@@ -135,7 +135,7 @@ Feature: Export a WordPress database
135135 Access denied
136136 """
137137
138- @require-mysql-or-mariadb
138+ @skip-sqlite
139139 Scenario : MySQL defaults are available as appropriate with --defaults flag
140140 Given a WP install
141141
0 commit comments