diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index 1782be430bc..32e495fffaf 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -151,7 +151,7 @@ if (! empty($force_install_message))
trans("DocumentsDirectory"); ?>
|
"
+ value=""
@@ -506,7 +506,7 @@ if (! empty($force_install_message))
class="needroot"
value="db->type,$conf->db->host,$conf->db->user,$conf->db-
if ($db->ok)
{
print '| '.$langs->trans("DolibarrAdminLogin").' : | ';
- print ' |
';
+ print '';
print '| '.$langs->trans("Password").' : | ';
print ' |
';
print '| '.$langs->trans("PasswordAgain").' : | ';
diff --git a/test/phpunit/zenfusion/functional/DolibarrInstallTest.php b/test/phpunit/zenfusion/functional/DolibarrInstallTest.php
new file mode 100644
index 00000000000..5fcb37fdb63
--- /dev/null
+++ b/test/phpunit/zenfusion/functional/DolibarrInstallTest.php
@@ -0,0 +1,33 @@
+setHost('localhost');
+ $this->setPort(4444);
+ $this->setBrowserUrl('http://dev.zenfusion.fr');
+ $this->setBrowser('chrome');
+ }
+
+ public function setUpPage()
+ {
+ $this->url('/');
+ }
+
+ public function testInstallRedirect()
+ {
+ $this->assertContains('/install/index.php', $this->url());
+ }
+
+ public function testInstallPageTitle()
+ {
+ $this->assertContains('Dolibarr', $this->title());
+ }
+
+ public function testInstallProcess()
+ {
+ $this->byName('forminstall')->submit();
+ $this->assertContains('/install/check.php', $this->url());
+ }
+}
|