Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 4ab80ed

Browse files
committed
Add stub for afterApplicationCreated() method
1 parent ee29039 commit 4ab80ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/Stubs/MailTrackingStub.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ class MailTrackingStub extends PHPUnit_Framework_TestCase
1414
{
1515
use MailTracking;
1616

17+
/**
18+
* Stubs Laravel's afterApplicationCreated() method so that tests can run normally
19+
*
20+
* @param callable $callback
21+
*
22+
* @return void
23+
*/
24+
public function afterApplicationCreated(callable $callback)
25+
{
26+
call_user_func($callback);
27+
}
28+
1729
/**
1830
* Public method in the stub to expose the protected email collection
1931
*

0 commit comments

Comments
 (0)