mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-07-17 00:32:36 +00:00
Applied latest StyleCI changes
This commit is contained in:
parent
d5b7fff102
commit
f1a8ad4980
|
@ -125,9 +125,9 @@ class RecycleBinApiTest extends TestCase
|
||||||
'parent' => [
|
'parent' => [
|
||||||
'id' => $page->chapter->id,
|
'id' => $page->chapter->id,
|
||||||
'name' => $page->chapter->name,
|
'name' => $page->chapter->name,
|
||||||
'type' => 'chapter'
|
'type' => 'chapter',
|
||||||
]
|
],
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ class RecycleBinApiTest extends TestCase
|
||||||
|
|
||||||
$resp = $this->putJson($this->baseEndpoint . '/' . $deletion->id);
|
$resp = $this->putJson($this->baseEndpoint . '/' . $deletion->id);
|
||||||
$resp->assertJson([
|
$resp->assertJson([
|
||||||
'restore_count' => 1
|
'restore_count' => 1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assertDatabaseHas('pages', [
|
$this->assertDatabaseHas('pages', [
|
||||||
|
@ -176,7 +176,7 @@ class RecycleBinApiTest extends TestCase
|
||||||
|
|
||||||
$resp = $this->deleteJson($this->baseEndpoint . '/' . $deletion->id);
|
$resp = $this->deleteJson($this->baseEndpoint . '/' . $deletion->id);
|
||||||
$resp->assertJson([
|
$resp->assertJson([
|
||||||
'delete_count' => 1
|
'delete_count' => 1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assertDatabaseMissing('pages', ['id' => $page->id]);
|
$this->assertDatabaseMissing('pages', ['id' => $page->id]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user