Skip to content

Commit

Permalink
moved tests to new dir
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Sep 27, 2024
1 parent c06281b commit 59da4b6
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

namespace IntLink;

use PHPUnit\Framework\TestCase;
use ILIAS;
use ilLanguage;

/**
* @author Alexander Killing <[email protected]>
Expand All @@ -11,13 +15,13 @@ protected function tearDown(): void
{
}

protected function getRequest(array $get, array $post): \ILIAS\Link\StandardGUIRequest
protected function getRequest(array $get, array $post): \ILIAS\COPage\IntLink\StandardGUIRequest
{
$http_mock = $this->createMock(ILIAS\HTTP\Services::class);
$lng_mock = $this->createMock(ilLanguage::class);
$data = new \ILIAS\Data\Factory();
$refinery = new \ILIAS\Refinery\Factory($data, $lng_mock);
return new \ILIAS\Link\StandardGUIRequest(
return new \ILIAS\COPage\IntLink\StandardGUIRequest(
$http_mock,
$refinery,
$get,
Expand Down

0 comments on commit 59da4b6

Please sign in to comment.