Skip to content

Commit 438befa

Browse files
committed
remove no longer needed v1 test
1 parent c721b30 commit 438befa

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

test/User/UserServiceTest.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -46,41 +46,13 @@ public function setUp()
4646
);
4747
}
4848

49-
/**
50-
* Test UiTiD v1
51-
*/
52-
public function testUserService()
53-
{
54-
$cfUser = new \CultureFeed_User();
55-
$cfUser->id = 1;
56-
57-
$this->cultureFeed->expects($this->any())
58-
->method('getUser')
59-
->willReturn($cfUser);
60-
61-
$this->userRoleStorage->expects($this->any())
62-
->method('getRolesByUserId')
63-
->willReturn(['administrator']);
64-
65-
$this->platformClient->expects($this->never())
66-
->method('getCurrentUser');
67-
68-
$user = $this->userService->getUser(1);
69-
70-
$this->assertInstanceOf(User::class, $user);
71-
}
72-
7349
/**
7450
* Test UiTiD v2
7551
*/
7652
public function testUiTidV2Service()
7753
{
7854
$dummyToken = 'dummyToken';
7955

80-
$this->cultureFeed->expects($this->any())
81-
->method('getUser')
82-
->willThrowException(new \Exception());
83-
8456
$this->userRoleStorage->expects($this->any())
8557
->method('getRolesByUserId')
8658
->willReturn(['administrator']);

0 commit comments

Comments
 (0)