Skip to content

Commit

Permalink
Add test case to reach 100% coverage again
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfeehan committed Mar 25, 2014
1 parent 2dac45b commit c6184c4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/Desk/Test/Unit/Client/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ public function dataProcessConfigValid()
'authentication' => 'basic',
),
),
array(
new Collection(array(
'subdomain' => 'foo',
'username' => 'foo',
'password' => 'bar',
)),
array(
'api_version' => 2,
'base_url' => 'https://{subdomain}.desk.com/api/v{api_version}/',
'subdomain' => 'foo',
'username' => 'foo',
'password' => 'bar',
'authentication' => 'basic',
),
),
array(
array(
'base_url' => 'http://example.com/',
Expand Down

0 comments on commit c6184c4

Please sign in to comment.