File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 5
5
/vendor
6
6
.env
7
7
.env.backup
8
+ .phpunit.result.cache
8
9
docker-compose.override.yml
9
10
Homestead.json
10
11
Homestead.yaml
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected function createGithubDriver(): GithubProvider
40
40
/**
41
41
* Create an instance of the specified driver.
42
42
*/
43
- protected function createPostmarkProvider (): PostmarkProvider
43
+ protected function createPostmarkDriver (): PostmarkProvider
44
44
{
45
45
$ config = $ this ->config ->get ('services.postmark ' );
46
46
Original file line number Diff line number Diff line change 4
4
5
5
use Receiver \Contracts \Factory ;
6
6
use Receiver \Providers \GithubProvider ;
7
+ use Receiver \Providers \PostmarkProvider ;
7
8
8
9
class ManagerTest extends TestCase
9
10
{
@@ -15,4 +16,13 @@ public function test_it_can_instantiate_the_github_driver()
15
16
16
17
$ this ->assertInstanceOf (GithubProvider::class, $ provider );
17
18
}
19
+
20
+ public function test_it_can_instantiate_the_postmark_driver ()
21
+ {
22
+ $ factory = $ this ->app ->make (Factory::class);
23
+
24
+ $ provider = $ factory ->driver ('postmark ' );
25
+
26
+ $ this ->assertInstanceOf (PostmarkProvider::class, $ provider );
27
+ }
18
28
}
You can’t perform that action at this time.
0 commit comments