Skip to content

Commit

Permalink
test that the user isnt used even when passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Jan 5, 2024
1 parent bdc4a99 commit b9db5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Git/GitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ public function it_gets_git_user_info()

Config::set('statamic.git.use_authenticated', false);

$this->assertEquals('Spock', Git::gitUserName());
$this->assertEquals('[email protected]', Git::gitUserEmail());
$this->assertEquals('Spock', Git::gitUserName($user));
$this->assertEquals('[email protected]', Git::gitUserEmail($user));
}

/** @test */
Expand Down

0 comments on commit b9db5b6

Please sign in to comment.