prodV1 #2

Open
RomanGolienko wants to merge 309 commits from prodV1 into main
2 changed files with 7 additions and 7 deletions
Showing only changes of commit 1e804e1161 - Show all commits

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])