Fix subscriber api. Closes #2112

This commit is contained in:
James Brooks
2016-09-28 20:19:33 +01:00
parent 1bdb2d6a0b
commit 86013db148
2 changed files with 7 additions and 4 deletions

View File

@@ -82,6 +82,7 @@ class SubscriberTest extends AbstractApiTestCase
$this->assertResponseOk();
$this->seeHeader('Content-Type', 'application/json');
$this->seeJson(['email' => 'support@alt-three.com']);
$this->seeJsonStructure(['data' => ['subscriptions' => []]]);
}
public function testDeleteSubscriber()