Skip to content

Commit b1ec036

Browse files
authored
Update LibraryFactoryTest.php
1 parent 3b96db2 commit b1ec036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/Unit/LibraryFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function setUp(): void {
2727
->disableOriginalConstructor()
2828
->getMock();
2929

30-
$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
30+
$queryResult = $this->getMockBuilder( QueryResult::class )
3131
->disableOriginalConstructor()
3232
->getMock();
3333

@@ -117,7 +117,7 @@ public function testCanConstructSubobjectParserFunction() {
117117

118118
public function testCanConstructLuaAskResultProcessor() {
119119

120-
$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
120+
$queryResult = $this->getMockBuilder( QueryResult::class )
121121
->disableOriginalConstructor()
122122
->getMock();
123123

0 commit comments

Comments
 (0)