diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-05-06 19:35:44 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-05-06 19:35:44 +0100 |
| commit | 75c29f79ecfcbc731eb642ea1476e97d2294da74 (patch) | |
| tree | 81dc615dcf1501c996d296ec1898ea412a62f086 /tests | |
| parent | 0b93976a9c83f1ad374620df2dc12a210d5be076 (diff) | |
| download | webtrees-75c29f79ecfcbc731eb642ea1476e97d2294da74.tar.gz webtrees-75c29f79ecfcbc731eb642ea1476e97d2294da74.tar.bz2 webtrees-75c29f79ecfcbc731eb642ea1476e97d2294da74.zip | |
Fix: #2412 - wrong parameter source
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/app/Http/Controllers/Admin/LocationControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |
