Skip to content

Commit 6eb9bf9

Browse files
committed
Fix tests
1 parent c7e9392 commit 6eb9bf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/QueueTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function a_http_request_with_the_handler_url_is_made()
2525

2626
// Assert
2727
CloudTasksApi::assertTaskCreated(function (Task $task): bool {
28-
return $task->getHttpRequest()->getUrl() === 'http://docker.for.mac.localhost:8080/handle-task';
28+
return $task->getHttpRequest()->getUrl() === 'http://docker.for.mac.localhost:8080';
2929
});
3030
}
3131

tests/TestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function getEnvironmentSetUp($app)
9393
'queue' => 'barbequeue',
9494
'project' => 'my-test-project',
9595
'location' => 'europe-west6',
96-
'handler' => env('CLOUD_TASKS_HANDLER', 'http://docker.for.mac.localhost:8080/handle-task'),
96+
'handler' => env('CLOUD_TASKS_HANDLER', 'http://docker.for.mac.localhost:8080'),
9797
'service_account_email' => '[email protected]',
9898
]);
9999
$app['config']->set('queue.failed.driver', 'database-uuids');
@@ -195,7 +195,7 @@ protected function addIdTokenToHeader(?Closure $closure = null): void
195195
{
196196
$base = [
197197
'iss' => 'https://accounts.google.com',
198-
'aud' => 'http://docker.for.mac.localhost:8080/handle-task',
198+
'aud' => 'http://docker.for.mac.localhost:8080',
199199
'exp' => time() + 10,
200200
];
201201

0 commit comments

Comments
 (0)