Skip to content

Commit

Permalink
lowercase
Browse files Browse the repository at this point in the history
Signed-off-by: Xheni Myrtaj <[email protected]>
  • Loading branch information
xh3n1 committed Apr 3, 2019
1 parent a13bfbe commit e61c0f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Integration/Controller/ListControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public function getListCountSubscribersForExistingListWithoutSessionKeyReturnsFo
$this->getDataSet()->addTable(static::LISTS_TABLE_NAME, __DIR__ . '/Fixtures/SubscriberList.csv');
$this->applyDatabaseChanges();

$this->client->request('get', '/api/v2/lists/1/countSubscribers');
$this->client->request('get', '/api/v2/lists/1/countsubscribers');

$this->assertHttpForbidden();
}
Expand All @@ -357,7 +357,7 @@ public function getListCountSubscribersForExistingListWithExpiredSessionKeyRetur

$this->client->request(
'get',
'/api/v2/lists/1/countSubscribers',
'/api/v2/lists/1/countsubscribers',
[],
[],
['PHP_AUTH_USER' => 'unused', 'PHP_AUTH_PW' => 'cfdf64eecbbf336628b0f3071adba763']
Expand All @@ -374,7 +374,7 @@ public function getListCountSubscribersWithCurrentSessionKeyForExistingListRetur
$this->getDataSet()->addTable(static::LISTS_TABLE_NAME, __DIR__ . '/Fixtures/SubscriberList.csv');
$this->applyDatabaseChanges();

$this->authenticatedJsonRequest('get', '/api/v2/lists/1/countSubscribers');
$this->authenticatedJsonRequest('get', '/api/v2/lists/1/countsubscribers');

$this->assertHttpOkay();
}
Expand All @@ -389,7 +389,7 @@ public function getListCountSubscribersWithCurrentSessionKeyForExistingListWithN
$this->getDataSet()->addTable(static::SUBSCRIPTION_TABLE_NAME, __DIR__ . '/Fixtures/Subscription.csv');
$this->applyDatabaseChanges();

$this->authenticatedJsonRequest('get', '/api/v2/lists/3/countSubscribers');
$this->authenticatedJsonRequest('get', '/api/v2/lists/3/countsubscribers');
$response = $this->getResponseContentAsInt();

static::assertSame(0, $response);
Expand All @@ -405,7 +405,7 @@ public function getListCountSubscribersWithCurrentSessionKeyForExistingListWithS
$this->getDataSet()->addTable(static::SUBSCRIPTION_TABLE_NAME, __DIR__ . '/Fixtures/Subscription.csv');
$this->applyDatabaseChanges();

$this->authenticatedJsonRequest('get', '/api/v2/lists/2/countSubscribers');
$this->authenticatedJsonRequest('get', '/api/v2/lists/2/countsubscribers');
$response = $this->getResponseContentAsInt();

static::assertSame(1, $response);
Expand Down

0 comments on commit e61c0f4

Please sign in to comment.