Skip to content

Commit 6f6a15b

Browse files
committed
Invert the logic\!
1 parent d36c457 commit 6f6a15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JoomlaBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function installJoomlaRemovingInstallationFolder()
289289
{
290290
$this->installJoomla();
291291

292-
if (!$this->haveVisible('#removeInstallationFolder'))
292+
if ($this->haveVisible('#removeInstallationFolder'))
293293
{
294294
$this->debug('Removing Installation Folder');
295295
$this->click(['id' => 'removeInstallationFolder']);
@@ -348,7 +348,7 @@ public function installJoomlaMultilingualSite($languages = array())
348348

349349
$this->waitForText('Congratulations! Joomla! is now installed.', $this->config['timeout'], ['xpath' => '//h2']);
350350

351-
if (!$this->haveVisible('#removeInstallationFolder'))
351+
if ($this->haveVisible('#removeInstallationFolder'))
352352
{
353353
$this->debug('Removing Installation Folder');
354354
$this->click(['xpath' => "//input[@value='Remove \"installation\" folder']"]);

0 commit comments

Comments
 (0)