Skip to content

Commit 8bf3b0d

Browse files
committed
fix tests
1 parent f48495f commit 8bf3b0d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/Unit/SourceControlProviders/GiteaTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public function test_data_handles_missing_provider_data(): void
153153
->create([
154154
'provider' => Gitea::id(),
155155
'provider_data' => [],
156+
'access_token' => null,
156157
]);
157158

158159
$gitea = new Gitea($sourceControlModel);

tests/Unit/SourceControlProviders/GithubTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function test_data_handles_missing_provider_data(): void
9999
->github()
100100
->create([
101101
'provider_data' => [],
102+
'access_token' => null,
102103
]);
103104

104105
$github = new Github($sourceControlModel);

0 commit comments

Comments
 (0)