File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 "nunomaduro/collision" : " ^4.2" ,
3030 "phpunit/phpunit" : " ^8.0 || ^9.0" ,
3131 "symfony/var-dumper" : " ^4.4 || ^5.0" ,
32- "vlucas/phpdotenv" : " ^4 .0"
32+ "vlucas/phpdotenv" : " ^5 .0"
3333 },
3434 "config" : {
3535 "sort-packages" : true
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ public function it_can_retrieve_an_access_token()
1818 (new Parser )->parse ($ accessToken ->token )->validate (new ValidationData ())
1919 );
2020 $ this ->assertFalse ($ accessToken ->isExpired ());
21- $ this ->assertEquals (getenv ( 'DHLPARCEL_ACCOUNT_ID ' ) , $ accessToken ->getAccountId ());
21+ $ this ->assertEquals ($ _ENV [ 'DHLPARCEL_ACCOUNT_ID ' ] , $ accessToken ->getAccountId ());
2222 }
2323}
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ protected function setUp(): void
2121 }
2222
2323 $ this ->client = (new Client )->setUserId (
24- getenv ( 'DHLPARCEL_ID ' )
24+ $ _ENV [ 'DHLPARCEL_ID ' ]
2525 )->setApiKey (
26- getenv ( 'DHLPARCEL_SECRET ' )
26+ $ _ENV [ 'DHLPARCEL_SECRET ' ]
2727 );
2828
2929 parent ::setUp ();
You can’t perform that action at this time.
0 commit comments