Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix doInstall for PHP strict error

  • Loading branch information...
commit 5f7e21ddd74fff6863d69199b284320dd9b87073 1 parent 1f01c7f
@dextercowley dextercowley authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  tests/CHANGELOG
  2. +2 −2 tests/system/suite/doInstall.php
View
1  tests/CHANGELOG
@@ -28,6 +28,7 @@ $ -> Language fix or change
02-May-2012 Mark Dexter
^ Change system test suite to work with PHPUnit version 3.6
+ # Fix doInstall for PHP strict error
12-Apr-2012 Mark Dexter
# Fix hard-coded version number in system test
View
4 tests/system/suite/doInstall.php
@@ -28,7 +28,7 @@ function testDoInstall()
echo "Page through screen 1\n";
$this->open($cfg->path ."/installation/index.php");
$this->select("id=jform_language", "label=English (United Kingdom)");
-
+
$this->click("//a[@rel=\"next\"]");
$this->waitforElement("//h3[contains(text(), 'Recommended settings')]");
@@ -96,7 +96,7 @@ function testDoInstall()
$this->setCache($cfg->cache);
// Check admin template -- change to hathor if specified in config file
- if ($cfg->adminTemplate == 'hathor') {
+ if (isset($cfg->adminTemplate) && $cfg->adminTemplate == 'hathor') {
$this->click("link=Template Manager");
$this->waitForPageToLoad("30000");
$this->click("link=Hathor - Default");
Please sign in to comment.
Something went wrong with that request. Please try again.