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  d92984bc897467f64888c3b3f7863f84b540cf7e (commit)
      from  ed23f8ed12f8050fbd0e53aabf5de2a5b90cd72b (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=d92984bc897467f64888c3b3f7863f84b540cf7e

commit d92984bc897467f64888c3b3f7863f84b540cf7e
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Mon May 31 10:55:48 2021 +0200

    fix php700 isElementPresent

diff --git a/tests/func/SeleniumForge-php700.php 
b/tests/func/SeleniumForge-php700.php
index 7a7a697..34f50db 100644
--- a/tests/func/SeleniumForge-php700.php
+++ b/tests/func/SeleniumForge-php700.php
@@ -594,11 +594,11 @@ abstract class FForge_SeleniumTestCase extends 
PHPUnit_Extensions_Selenium2TestC
        protected function isElementPresent($element) {
                try {
                        if (preg_match('/^\/\/[a-z]/', $element)) {
-                               if ($this->byXPath($element) instanceof 
PHPUnit\Extensions\Selenium2TestCase\Element) {
+                               if ($this->byXPath($element) instanceof 
PHPUnit_Extensions_Selenium2TestCase_Element) {
                                        return true;
                                }
                        } elseif (preg_match('/^link=/', $element)) {
-                               if ($this->byLinkText(substr($element, 5)) 
instanceof PHPUnit\Extensions\Selenium2TestCase\Element) {
+                               if ($this->byLinkText(substr($element, 5)) 
instanceof PHPUnit_Extensions_Selenium2TestCase_Element) {
                                        return true;
                                }
                        }

-----------------------------------------------------------------------

Summary of changes:
 tests/func/SeleniumForge-php700.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to