Skip to content

Commit 5822226

Browse files
author
David Gamero
committed
mock tenantid in test
1 parent 762c018 commit 5822226

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/setup-gh_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func TestSetUpConfig(t *testing.T) {
1818
mockSetUpCmd.Repo = "test/repo"
1919
mockSetUpCmd.ResourceGroupName = "testResourceGroup"
2020
mockSetUpCmd.SubscriptionID = "123456789"
21+
mockSetUpCmd.TenantId = "123456789"
2122
s := spinner.CreateSpinner("--> Setting up Github OIDC...")
2223

2324
fillSetUpConfig(mockSetUpCmd)

pkg/linguist/linguist_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func TestGitAttributes(t *testing.T) {
6060
}
6161
}
6262

63-
//TestDirectoryIsIgnored checks to see if directory paths such as 'docs/' are ignored from being classified by linguist when added to the "ignore" list.
63+
// TestDirectoryIsIgnored checks to see if directory paths such as 'docs/' are ignored from being classified by linguist when added to the "ignore" list.
6464
func TestDirectoryIsIgnored(t *testing.T) {
6565
path := filepath.Join("testdirs", "app-documentation")
6666
// populate isIgnored

0 commit comments

Comments
 (0)