-
-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clone so user doesnt get attached to the facade singleton
- Loading branch information
1 parent
caf98e1
commit 5f9acb4
Showing
2 changed files
with
12 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,10 +186,10 @@ public function it_gets_git_user_info() | |
->data(['name' => 'Han Solo']) | ||
->makeSuper(); | ||
|
||
Git::as($han); | ||
|
||
$this->assertEquals('Han Solo', Git::gitUserName()); | ||
$this->assertEquals('han@solo.com', Git::gitUserEmail()); | ||
$this->assertEquals('Han Solo', Git::as($han)->gitUserName()); | ||
$this->assertEquals('[email protected]', Git::as($han)->gitUserEmail()); | ||
$this->assertEquals('Chewy', Git::gitUserName()); | ||
$this->assertEquals('chew@bacca.com', Git::gitUserEmail()); | ||
|
||
Config::set('statamic.git.use_authenticated', false); | ||
|
||
|