mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fixed mock service errors
This commit is contained in:
@@ -190,7 +190,7 @@ $utopia->get('/v1/mock/tests/general/redirect')
|
||||
->label('sdk.method', 'redirect')
|
||||
->label('sdk.description', 'Mock a redirect request for SDK tests')
|
||||
->action(
|
||||
function () use ($request) {
|
||||
function () use ($response) {
|
||||
$response->redirect('/v1/mock/tests/general/redirected');
|
||||
}
|
||||
);
|
||||
@@ -202,7 +202,7 @@ $utopia->get('/v1/mock/tests/general/redirected')
|
||||
->label('sdk.method', 'redirected')
|
||||
->label('sdk.description', 'Mock a redirected request for SDK tests')
|
||||
->action(
|
||||
function () use ($request) {
|
||||
function () {
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user