File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/Integration/Api/Client/Server/Subuser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function testCorrectSubuserIsDeletedFromServer()
4444 'permissions ' => [Permission::ACTION_WEBSOCKET_CONNECT ],
4545 ]);
4646
47- $ mock ->expects ('setServer->revokeJTIs ' )->with ([ md5 ( $ subuser ->id . $ server -> uuid )] )->andReturnUndefined ();
47+ $ mock ->expects ('setServer->revokeUserJTI ' )->with ($ subuser ->id )->andReturnUndefined ();
4848
4949 $ this ->actingAs ($ user )->deleteJson ($ this ->link ($ server ) . "/users/ {$ subuser ->uuid }" )->assertNoContent ();
5050
@@ -60,7 +60,7 @@ public function testCorrectSubuserIsDeletedFromServer()
6060 'permissions ' => [Permission::ACTION_WEBSOCKET_CONNECT ],
6161 ]);
6262
63- $ mock ->expects ('setServer->revokeJTIs ' )->with ([ md5 ( $ subuser ->id . $ server -> uuid )] )->andReturnUndefined ();
63+ $ mock ->expects ('setServer->revokeUserJTI ' )->with ($ subuser ->id )->andReturnUndefined ();
6464
6565 $ this ->actingAs ($ user )->deleteJson ($ this ->link ($ server ) . "/users/ {$ subuser ->uuid }" )->assertNoContent ();
6666 }
You can’t perform that action at this time.
0 commit comments