From d3748fdb2b155a3500561b571543b0bf587062f6 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 8 Jul 2021 15:05:04 +0200 Subject: [PATCH 1/3] Fix: Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2adde80..54d18b4 100644 --- a/README.md +++ b/README.md @@ -636,7 +636,7 @@ If you find yourself creating a lot of [http requests](#http-requests) with the class MyTest extends KernelTestCase { use HasBrowser { - browser as baseKernelBrowser; + httpBrowser as baseKernelBrowser; } public function testDemo(): void From e9fefcf6644809293918dddbdac60bc1de54b7ed Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 8 Jul 2021 21:13:14 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54d18b4..2adde80 100644 --- a/README.md +++ b/README.md @@ -636,7 +636,7 @@ If you find yourself creating a lot of [http requests](#http-requests) with the class MyTest extends KernelTestCase { use HasBrowser { - httpBrowser as baseKernelBrowser; + browser as baseKernelBrowser; } public function testDemo(): void From b80d13895b4bcbfd13624e1da386753ede59b9ef Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 8 Jul 2021 21:13:54 +0200 Subject: [PATCH 3/3] Fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2adde80..9eec64c 100644 --- a/README.md +++ b/README.md @@ -650,7 +650,7 @@ If you find yourself creating a lot of [http requests](#http-requests) with the ; } - protected function httpBrowser(): KernelBrowser + protected function browser(): KernelBrowser { return $this->baseKernelBrowser() ->setDefaultHttpOptions(['headers' => ['X-Token' => 'my-token']])