fix rename methods in PlaceController.php
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 2m12s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 19s Details

This commit is contained in:
aslan 2024-02-26 09:38:17 +03:00
parent 115f49ea53
commit 1e804e1161
2 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,7 @@ class PlaceController extends Controller
$placeTypes = PlaceType::pluck('name', 'id');
$educationForms = EducationForm::pluck('name', 'id');
return view(
'admin.catalog.direction.place.create',
'admin.catalog.direction.place.edit',
compact(
'place',
'directions',

View File

@ -57,7 +57,7 @@ class PlaceTest extends TestCase
$response->assertOk();
}
public function testCreatePlaceTypePage(): void
public function testCreatePlacePage(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])
@ -66,7 +66,7 @@ class PlaceTest extends TestCase
$response->assertOk();
}
public function testStorePlaceType(): void
public function testStorePlace(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])
@ -77,7 +77,7 @@ class PlaceTest extends TestCase
$this->assertDatabaseHas('places', $this->data);
}
public function testShowPlaceTypePage(): void
public function testShowPlacePage(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])
@ -86,7 +86,7 @@ class PlaceTest extends TestCase
$response->assertOk();
}
public function testEditPlaceTypePage(): void
public function testEditPlacePage(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])
@ -95,7 +95,7 @@ class PlaceTest extends TestCase
$response->assertOk();
}
public function testUpdatePlaceType(): void
public function testUpdatePlace(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])
@ -106,7 +106,7 @@ class PlaceTest extends TestCase
$this->assertDatabaseHas('places', $this->data);
}
public function testDestroyPlaceType(): void
public function testDestroyPlace(): void
{
$response = $this->actingAs($this->user)
->withSession(['banned' => false])