Skip to content

Commit

Permalink
Fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge authored Jul 26, 2017
1 parent ff11ae9 commit 51c2bbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/suites/libraries/joomla/JLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ public function testLoadOverrideAliasClass()
$this->assertTrue(class_exists('AliasNewClass'));
$this->assertTrue(class_exists('AliasOldClass'));

$newClass = new AliasNewClass();
$oldClass = new AliasOldClass();
$newClass = new AliasNewClass;
$oldClass = new AliasOldClass;

// Check if really the override is used
$this->assertEquals('Alias Override Class', $newClass->getName());
Expand Down Expand Up @@ -271,8 +271,8 @@ public function testLoadOverrideOriginalClass()
$this->assertTrue(class_exists('OriginalNewClass'));
$this->assertTrue(class_exists('OriginalOldClass'));

$newClass = new OriginalNewClass();
$oldClass = new OriginalOldClass();
$newClass = new OriginalNewClass;
$oldClass = new OriginalOldClass;

// Check if really the override is used
$this->assertEquals('Original Override Class', $newClass->getName());
Expand Down

0 comments on commit 51c2bbc

Please sign in to comment.