Skip to content

Commit

Permalink
Item13883: fixed DependencyTests
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jun 20, 2022
1 parent 227f491 commit 7e5dde1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UnitTestContrib/test/unit/DependencyTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ sub test_check_foswiki_rev {
);
my ( $ok, $message ) = $dep->checkDependency();
$this->assert_equals( 1, $ok );
$this->assert_matches( qr/^Foswiki version Foswiki-(.*) installed$/,

# e.g. Foswiki version 17 Jun 2022 installed
$this->assert_matches( qr/^Foswiki version \d+ \w+ \d\d\d\d installed$/,
$message );

}
Expand Down

0 comments on commit 7e5dde1

Please sign in to comment.