Skip to content

Commit

Permalink
Unit tests: Don’t try to sign commits with GPG
Browse files Browse the repository at this point in the history
Improves performance when the global config sets this option to `true` by default
  • Loading branch information
lukasbestle committed Mar 6, 2024
1 parent 524b1b4 commit 7a38220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Versions/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function setUp(): void

$this->plugin = new Plugin($this->kirby);
$this->plugin->gitCommand(null, 'init', '-b', 'main');
$this->plugin->gitCommand(null, 'config', 'commit.gpgsign', 'false');
$this->plugin->gitCommand(null, 'add', '-A');
$this->plugin->gitCommand(null, '-c', 'user.name=Test', '-c', '[email protected]', 'commit', '-m', 'Initial commit');
$this->plugin->gitCommand(null, 'tag', 'initial');
Expand Down

0 comments on commit 7a38220

Please sign in to comment.