[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 5408e017f51cd534929e9b3eee7da2e19e01e052
Roland Mas
lolando at fusionforge.org
Tue May 6 10:11:40 CEST 2014
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, Branch_5_3 has been updated
via 5408e017f51cd534929e9b3eee7da2e19e01e052 (commit)
from 5368fce262bd4d87dd8a76b1c3943f65493420bf (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 -----------------------------------------------------------------
commit 5408e017f51cd534929e9b3eee7da2e19e01e052
Author: Roland Mas <lolando at debian.org>
Date: Tue May 6 10:11:30 2014 +0200
Backport from master: uploadSshKey method
diff --git a/tests/func/Testing/SeleniumGforge.php b/tests/func/Testing/SeleniumGforge.php
index bd2de59..520ff0f 100644
--- a/tests/func/Testing/SeleniumGforge.php
+++ b/tests/func/Testing/SeleniumGforge.php
@@ -420,6 +420,17 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase
$this->waitForPageToLoad("30000");
$this->assertTrue($this->isTextPresent("This is the public description for $project."));
}
+
+ protected function uploadSshKey () {
+ $keys = file(getenv('HOME').'/.ssh/id_rsa.pub');
+ $k = $keys[0];
+ $this->assertEquals(count($keys), 1);
+
+ $this->clickAndWait("link=My Account");
+ $this->clickAndWait("link=Edit Keys");
+ $this->type("authorized_key", $k);
+ $this->clickAndWait("submit");
+ }
}
// Local Variables:
-----------------------------------------------------------------------
Summary of changes:
tests/func/Testing/SeleniumGforge.php | 11 +++++++++++
1 file changed, 11 insertions(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list