equal
deleted
inserted
replaced
68 }] |
68 }] |
69 } |
69 } |
70 } |
70 } |
71 }', true)); |
71 }', true)); |
72 |
72 |
73 $response = $this->get('/api/v1/stats/languages/')->assertTrue($this->response->isOk(), $this->response->content()); |
73 $response = $this->get('/api/v1/stats/languages/'); |
74 $this->seeJsonEquals(['languages' => [ |
74 $response |
|
75 ->assertStatus(200) |
|
76 ->assertJson(['languages' => [ |
75 'http://lexvo.org/id/iso639-3/fra' => 1669, |
77 'http://lexvo.org/id/iso639-3/fra' => 1669, |
76 'http://lexvo.org/id/iso639-3/gsw' => 851, |
78 'http://lexvo.org/id/iso639-3/gsw' => 851, |
77 'http://lexvo.org/id/iso639-3/bre' => 403, |
79 'http://lexvo.org/id/iso639-3/bre' => 403, |
78 ]]); |
80 ]]); |
79 } |
81 } |