Skip to content

Commit bd0176b

Browse files
committed
Remove non necessary methods
1 parent 47efed4 commit bd0176b

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

src/Lodash/Testing/Response.php

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -135,41 +135,4 @@ public function getDecodedContent(): array
135135

136136
return json_decode($content, true);
137137
}
138-
139-
public function assertForbidden(): Response
140-
{
141-
parent::assertForbidden();
142-
143-
//$this->assertJsonErrorStructure();
144-
//$this->assertJson(['message' => 'This action is unauthorized.']);
145-
146-
return $this;
147-
}
148-
149-
public function assertNotFound(): Response
150-
{
151-
parent::assertNotFound();
152-
153-
$this->assertJson(['status' => 'error', 'message' => __('app.item_not_found')]);
154-
155-
return $this;
156-
}
157-
158-
public function assertOk(): Response
159-
{
160-
parent::assertOk();
161-
162-
$this->assertJsonSuccessStructure();
163-
164-
return $this;
165-
}
166-
167-
public function assertCreated(): Response
168-
{
169-
parent::assertCreated();
170-
171-
$this->assertJsonSuccessStructure();
172-
173-
return $this;
174-
}
175138
}

0 commit comments

Comments
 (0)