Skip to content

Commit

Permalink
remove the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Apr 3, 2024
1 parent d4a35ec commit 845c870
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion features/steps/given.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ function($world) {
// If there's no update available or the current version is the latest, throw an exception to skip the test.
if (empty($latestVersion) || $currentVersion === $latestVersion) {
$world->isLatestWPVersion = true;
throw new Exception("The current WordPress version is the latest. Test skipped.");
}

$world->isLatestWPVersion = false;
Expand Down

0 comments on commit 845c870

Please sign in to comment.