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 662be9b944e39c2c2a2bc119a4f1ca7f0313a66f (commit)
via b856cc1e7c6d7cce8da1bdd270a9319948a89ab8 (commit)
from 647e31449076d7d4188cbd9c7225634016aaa193 (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 662be9b944e39c2c2a2bc119a4f1ca7f0313a66f
Author: Franck Villaume <[email protected]>
Date: Fri Jul 4 15:25:44 2014 +0200
FRS: fix typo
diff --git a/src/common/frs/actions/deletepackage.php
b/src/common/frs/actions/deletepackage.php
index 0bba704..5253b80 100644
--- a/src/common/frs/actions/deletepackage.php
+++ b/src/common/frs/actions/deletepackage.php
@@ -57,7 +57,7 @@ if ($package_id) {
echo json_encode($result);
exit;
}
- $result['html'] = $HTML->feedback(_('Pacakge successfully deleted'));
+ $result['html'] = $HTML->feedback(_('Package successfully deleted'));
$result['deletedom'] = 'pkgid'.$package_id;
}
commit b856cc1e7c6d7cce8da1bdd270a9319948a89ab8
Author: Franck Villaume <[email protected]>
Date: Fri Jul 4 15:25:29 2014 +0200
FRS: add initial create package test
diff --git a/tests/func/20_FRS/FRSTest.php b/tests/func/20_FRS/FRSTest.php
new file mode 100644
index 0000000..dacf5f1
--- /dev/null
+++ b/tests/func/20_FRS/FRSTest.php
@@ -0,0 +1,38 @@
+<?php
+/**
+ * Copyright, 2014, Franck Villaume - TrivialDev
+ *
+ * This file is part of FusionForge.
+ *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+require_once dirname(dirname(__FILE__)).'/Testing/SeleniumGforge.php';
+
+class CreateFRS extends FForge_SeleniumTestCase
+{
+ function testCreateFRSPackage()
+ {
+ $this->init();
+ $this->gotoProject('ProjectA');
+ $this->clickAndWait("link=Files");
+ $this->assertFalse($this->isTextPresent("Permission denied."));
+ $this->assertTrue($this->isTextPresent("Administration"));
+ $this->clickAndWait("link=Administration");
+ $this->type("//input[@name='package_name']", "My Package Name");
+ $this->clickAndWait("//input[@name='submit' and @value='Create
This Package']");
+ $this->assertTextPresent("Added Package");
+ }
+}
-----------------------------------------------------------------------
Summary of changes:
src/common/frs/actions/deletepackage.php | 2 +-
.../func/20_FRS/FRSTest.php | 31 ++++++++++++--------
2 files changed, 19 insertions(+), 14 deletions(-)
copy src/plugins/scmcpold/common/scmcpold-init.php =>
tests/func/20_FRS/FRSTest.php (53%)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits