Skip to content

Commit 3c41c91

Browse files
author
Bernhard Posselt
committed
use import
1 parent fa56aae commit 3c41c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/controller/NotesApiControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use OCP\AppFramework\Http\DataResponse;
1515
use OCP\AppFramework\App;
16+
use OCP\Files\File;
1617
use Test\TestCase;
1718

18-
1919
class NotesApiControllerTest extends TestCase {
2020

2121
private $controller;
@@ -56,7 +56,7 @@ public function testUpdate() {
5656

5757
$file = $this->fs->get('/' . $userId . '/notes/test2.txt');
5858

59-
$this->assertTrue($file instanceof OCP\Files\File);
59+
$this->assertTrue($file instanceof File);
6060
}
6161

6262

0 commit comments

Comments
 (0)