You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a current client, we are creating sites as fixtures for some complicated functionality tests, but they are not getting cleared from the database upon test startup. I now have over 20 site tables in the test database and it would be really great if Altis would just clear any and all tables with the tests prefix.
The text was updated successfully, but these errors were encountered:
As discussed on slack the problem is that the WP test framework only loops over the tables that the $wpdb object is aware during the initial bootstrap process. Some code is not included or hooked up during the initial install so this isn't reliable. We should change this to remove all tables with the wptests_ prefix
On a current client, we are creating sites as fixtures for some complicated functionality tests, but they are not getting cleared from the database upon test startup. I now have over 20 site tables in the test database and it would be really great if Altis would just clear any and all tables with the tests prefix.
The text was updated successfully, but these errors were encountered: