File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,8 @@ protected function setUp(): void
2626 public function get_from_parses_name_and_email ()
2727 {
2828 Storage::fake ('local ' );
29- $ tokenRepo = new class implements TokenRepository
30- {
31- public function tokenExists (string $ fileName ): bool
32- {
33- return false ;
34- }
35-
36- public function getToken (string $ fileName , bool $ allowJsonEncrypt ): array
37- {
38- return [];
39- }
40-
41- public function storeToken (string $ fileName , array $ config , bool $ allowJsonEncrypt ): void {}
4229
43- public function deleteToken (string $ fileName , bool $ allowJsonEncrypt ): void {}
44- };
45- $ mail = new Mail ($ tokenRepo );
30+ $ mail = new Mail ;
4631
4732 $ header = new \Google_Service_Gmail_MessagePartHeader ;
4833 $ header ->setName ('From ' );
You can’t perform that action at this time.
0 commit comments