Skip to content

Commit

Permalink
Add check before uninstalling table
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Jul 29, 2024
1 parent c76be94 commit 50e191b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Integration/DBTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ public static function uninstallAtfTable() {
$container = apply_filters( 'rocket_container', null );
$atf_table = $container->get( 'atf_table' );

$atf_table->uninstall();
if ( $atf_table->exists() ) {
$atf_table->uninstall();
}
}

public static function removeDBHooks() {
Expand Down

0 comments on commit 50e191b

Please sign in to comment.