Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 committed Jan 23, 2021
1 parent d5742a6 commit a03b24c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/classes/phing/tasks/ext/GitTasks/GitBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

use Phing\Support\BuildFileTest;
use Phing\Tasks\Ext\GitBaseTask;

/**
* @author Victor Farazdagi <simple.square@gmail.com>
Expand All @@ -34,12 +35,12 @@ public function setUp(): void
PHING_TEST_BASE
. "/etc/tasks/ext/git/GitBaseTest.xml"
);
$this->mock = $this->getMockForAbstractClass('GitBaseTask');
$this->mock = $this->getMockForAbstractClass(GitBaseTask::class);
}

public function testInitialization()
{
$this->assertInstanceOf('GitBaseTask', $this->mock);
$this->assertInstanceOf(GitBaseTask::class, $this->mock);
}

/**
Expand Down

0 comments on commit a03b24c

Please sign in to comment.