Skip to content

Commit dc1b0e4

Browse files
committed
remove culturefeed
1 parent 438befa commit dc1b0e4

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

app/User/UserServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function register(Container $pimple)
1717
$pimple['uitid_user_service'] = function (Container $pimple) {
1818
$service = new CachedUserService(
1919
new UserService(
20-
$pimple['culturefeed'],
2120
$pimple['user_role.storage'],
2221
$pimple[PlatformClientInterface::class]
2322
)

src/User/UserService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ class UserService extends UiTIDUserService
1919
private $platformClient;
2020

2121
public function __construct(
22-
\CultureFeed $cultureFeed,
2322
UserRoleStorageInterface $userRoleStorage,
2423
PlatformClientInterface $platformClient
2524
) {
26-
parent::__construct($cultureFeed);
2725
$this->userRoleStorage = $userRoleStorage;
2826
$this->platformClient = $platformClient;
2927
}

test/User/UserServiceTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ class UserServiceTest extends TestCase
1818
*/
1919
private $userRoleStorage;
2020

21-
/**
22-
* @var \CultureFeed & MockObject
23-
*/
24-
private $cultureFeed;
25-
2621
/**
2722
* @var PlatformClientInterface & MockObject
2823
*/
@@ -36,11 +31,9 @@ class UserServiceTest extends TestCase
3631
public function setUp()
3732
{
3833
$this->userRoleStorage = $this->createMock(UserRoleStorageInterface::class);
39-
$this->cultureFeed = $this->createMock(\CultureFeed::class);
4034
$this->platformClient = $this->createMock(PlatformClientInterface::class);
4135

4236
$this->userService = new UserService(
43-
$this->cultureFeed,
4437
$this->userRoleStorage,
4538
$this->platformClient
4639
);

0 commit comments

Comments
 (0)