This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via ed23f8ed12f8050fbd0e53aabf5de2a5b90cd72b (commit)
via ec6dfde0f12edc2c6110a94377c01505b6862d4f (commit)
from 923ef5b29444690d68fbb439c60a0cb97f673b0d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ed23f8ed12f8050fbd0e53aabf5de2a5b90cd72b
commit ed23f8ed12f8050fbd0e53aabf5de2a5b90cd72b
Author: Franck Villaume <[email protected]>
Date: Mon May 31 10:23:32 2021 +0200
space
diff --git a/tests/func/10_Site/loginTest.php b/tests/func/10_Site/loginTest.php
index 9a4c4d7..e8a47b6 100644
--- a/tests/func/10_Site/loginTest.php
+++ b/tests/func/10_Site/loginTest.php
@@ -64,7 +64,7 @@ class loginTest extends FForge_SeleniumTestCase
// If the forge redirects to other URL than the one
// used to access it, then logout doesn't work (bug or
// feature ?)
- $location=$this->getLocation();
+ $location = $this->getLocation();
$url_regexp = str_replace('.', '\.', HOST);
$url_regexp = '/https?:\/\/'. $url_regexp .'\//';
$this->assertMatchesRegularExpression($url_regexp, $location,
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ec6dfde0f12edc2c6110a94377c01505b6862d4f
commit ec6dfde0f12edc2c6110a94377c01505b6862d4f
Author: Franck Villaume <[email protected]>
Date: Mon May 31 10:23:22 2021 +0200
add missing assertMatchesRegularExpression function
diff --git a/tests/func/SeleniumForge-php700.php
b/tests/func/SeleniumForge-php700.php
index 3a1de2e..7a7a697 100644
--- a/tests/func/SeleniumForge-php700.php
+++ b/tests/func/SeleniumForge-php700.php
@@ -694,4 +694,12 @@ abstract class FForge_SeleniumTestCase extends
PHPUnit_Extensions_Selenium2TestC
} catch(Exception $e) {}
return false;
}
+
+ protected function assertMatchesRegularExpression($regexp, $text,
$error_msg) {
+ if (preg_match($regexp, $text)) {
+ return true;
+ }
+ echo $error_msg;
+ return false;
+ }
}
-----------------------------------------------------------------------
Summary of changes:
tests/func/10_Site/loginTest.php | 2 +-
tests/func/SeleniumForge-php700.php | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits