-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from codebar-ag/feature-updates
Feature Updates
- Loading branch information
Showing
23 changed files
with
84 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,12 @@ | |
|
||
use CodebarAg\Zendesk\Requests\SingleTicketRequest; | ||
use CodebarAg\Zendesk\ZendeskConnector; | ||
use Illuminate\Support\Facades\Config; | ||
use Saloon\Http\Faking\MockResponse; | ||
use Saloon\Laravel\Http\Faking\MockClient; | ||
|
||
it('will throw an exception if a subdomain is not set', closure: function () { | ||
Config::set('zendesk.subdomain'); | ||
$connector = new ZendeskConnector; | ||
$connector->resolveBaseUrl(); | ||
|
||
|
@@ -165,7 +167,6 @@ | |
expect($token)->toBe('[email protected]:test-password'); | ||
}); | ||
|
||
|
||
it('will throw and authentication error when details are incorrect', function () { | ||
config([ | ||
'zendesk.subdomain' => 'codebarsolutionsagwrong', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
test('it will not use any debug function') | ||
->expect(['dd', 'ray', 'dump']) | ||
->not() | ||
->toBeUsed(); |
Oops, something went wrong.