Skip to content

Commit

Permalink
Fix ResourceLoader namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
malberts committed Apr 26, 2024
1 parent 0aa1479 commit 0f1de01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/phpunit/Integration/StylesCompileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Bootstrap\BootstrapManager;
use CSSMin;
use HashBagOStuff;
use MediaWiki\ResourceLoader\Context;
use SCSS\ResourceLoaderSCSSModule;
use Skins\Chameleon\Hooks\SetupAfterCache;

Expand Down Expand Up @@ -57,7 +58,7 @@ public function testStylesCompile() {

$setupAfterCache->process();

$resourceLoaderContext = $this->getMockBuilder( '\ResourceLoaderContext' )
$resourceLoaderContext = $this->getMockBuilder( Context::class )
->disableOriginalConstructor()
->getMock();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

namespace Skins\Chameleon\Tests\Unit\Hooks;

use ResourceLoader;
use MediaWiki\ResourceLoader\ResourceLoader;
use PHPUnit\Framework\TestCase;
use Skins\Chameleon\Hooks\ResourceLoaderRegisterModules;

Expand Down

0 comments on commit 0f1de01

Please sign in to comment.