File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed
Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments