From 75c29f79ecfcbc731eb642ea1476e97d2294da74 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Mon, 6 May 2019 19:35:44 +0100 Subject: Fix: #2412 - wrong parameter source --- tests/app/Http/Controllers/Admin/LocationControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/app/Http/Controllers/Admin/LocationControllerTest.php b/tests/app/Http/Controllers/Admin/LocationControllerTest.php index 457670d896..344cd8298f 100644 --- a/tests/app/Http/Controllers/Admin/LocationControllerTest.php +++ b/tests/app/Http/Controllers/Admin/LocationControllerTest.php @@ -85,7 +85,7 @@ class LocationControllerTest extends TestCase public function testMapDataDelete(): void { $controller = new LocationController(new GedcomService()); - $request = self::createRequest('POST', ['route' => 'map-data-delete'], ['parent_id' => '0', 'place_id' => '0']); + $request = self::createRequest('POST', ['route' => 'map-data-delete', 'parent_id' => '0', 'place_id' => '0']); $response = $controller->mapDataDelete($request); $this->assertSame(self::STATUS_FOUND, $response->getStatusCode()); -- cgit v1.3