Skip to content

Commit 6d73d4e

Browse files
committed
Remove outdated TODO
1 parent 70b57ba commit 6d73d4e

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

features/install-wp-tests.feature

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Feature: Scaffold install-wp-tests.sh tests
5050
And I run `wp plugin path`
5151
And save STDOUT as {PLUGIN_DIR}
5252
And I run `wp scaffold plugin hello-world`
53-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
5453
# This throws a warning for the password provided via command line.
5554
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
5655
And I try `rm -fr /tmp/behat-wordpress-tests-lib`
@@ -98,7 +97,6 @@ Feature: Scaffold install-wp-tests.sh tests
9897
install_test_suite
9998
"""
10099

101-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
102100
# This throws a warning for the password provided via command line.
103101
When I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "SHOW DATABASES"`
104102
And STDOUT should contain:
@@ -167,7 +165,6 @@ Feature: Scaffold install-wp-tests.sh tests
167165
And I run `wp plugin path`
168166
And save STDOUT as {PLUGIN_DIR}
169167
And I run `wp scaffold plugin hello-world`
170-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
171168
# This throws a warning for the password provided via command line.
172169
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
173170
And I try `rm -fr /tmp/behat-wordpress-tests-lib`
@@ -215,7 +212,6 @@ Feature: Scaffold install-wp-tests.sh tests
215212
install_test_suite
216213
"""
217214
218-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
219215
# This throws a warning for the password provided via command line.
220216
When I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "SHOW DATABASES"`
221217
And STDOUT should contain:
@@ -280,7 +276,6 @@ Feature: Scaffold install-wp-tests.sh tests
280276
And I run `wp plugin path`
281277
And save STDOUT as {PLUGIN_DIR}
282278
And I run `wp scaffold plugin hello-world`
283-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
284279
# This throws a warning for the password provided via command line.
285280
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
286281
And I try `rm -fr /tmp/behat-wordpress-tests-lib`
@@ -341,7 +336,6 @@ Feature: Scaffold install-wp-tests.sh tests
341336
install_test_suite
342337
"""
343338
344-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
345339
# This throws a warning for the password provided via command line.
346340
When I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "SHOW DATABASES"`
347341
And STDOUT should contain:
@@ -380,7 +374,6 @@ Feature: Scaffold install-wp-tests.sh tests
380374
And I run `wp plugin path`
381375
And save STDOUT as {PLUGIN_DIR}
382376
And I run `wp scaffold plugin hello-world`
383-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
384377
# This throws a warning for the password provided via command line.
385378
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
386379
And I try `rm -fr /tmp/behat-wordpress-tests-lib`
@@ -441,7 +434,6 @@ Feature: Scaffold install-wp-tests.sh tests
441434
install_test_suite
442435
"""
443436
444-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
445437
# This throws a warning for the password provided via command line.
446438
When I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "SHOW DATABASES"`
447439
And STDOUT should contain:
@@ -461,7 +453,6 @@ Feature: Scaffold install-wp-tests.sh tests
461453
And I run `wp plugin path`
462454
And save STDOUT as {PLUGIN_DIR}
463455
And I run `wp scaffold plugin hello-world`
464-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
465456
# This throws a warning for the password provided via command line.
466457
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
467458
And I try `rm -fr /tmp/behat-wordpress-tests-lib`
@@ -512,7 +503,6 @@ Feature: Scaffold install-wp-tests.sh tests
512503
install_test_suite
513504
"""
514505
515-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
516506
# This throws a warning for the password provided via command line.
517507
When I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "SHOW DATABASES"`
518508
And STDOUT should contain:

features/scaffold-theme-tests.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Feature: Scaffold theme unit tests
8888
"""
8989
<?php echo __FILE__ . " loaded.\n";
9090
"""
91-
# TODO: Hardcoded for GHA, needs to be made more flexible for local setups.
9291
# This throws a warning for the password provided via command line.
9392
And I try `mysql -u{DB_USER} -p{DB_PASSWORD} -h{MYSQL_HOST} -P{MYSQL_PORT} --protocol=tcp -e "DROP DATABASE IF EXISTS wp_cli_test_scaffold"`
9493
And I try `rm -fr /tmp/behat-wordpress-tests-lib`

0 commit comments

Comments
 (0)