1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 02:44:04 +02:00

ApiController Extender and Tests (#2451)

This commit is contained in:
Sami Mazouz
2020-12-06 21:07:48 +01:00
committed by GitHub
parent 056d420c7b
commit 51a97fb12e
6 changed files with 1237 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ class ThrottleApiTest extends TestCase
$this->prepDb();
$this->prepDb();
$response = $this->send($this->request('GET', '/api/discussions', ['authenticatedAs' => 2]));
$this->assertEquals(200, $response->getStatusCode());