Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
traut committed Nov 14, 2024
1 parent 4739fc7 commit 5a7f08c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions internal/microsoft/data_microsoft_security_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package microsoft_test
import (
"context"
"errors"
"testing"
"net/url"
"testing"

"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
Expand Down Expand Up @@ -126,9 +126,7 @@ func (s *MicrosoftSecurityDataSourceTestSuite) TestBasicObject() {
s.Equal(expectedData, result.AsPluginData())
}


func (s *MicrosoftSecurityDataSourceTestSuite) TestClientError() {

endpoint := "/users"
size := 1

Expand Down Expand Up @@ -214,4 +212,3 @@ func (s *MicrosoftSecurityDataSourceTestSuite) TestMissingCredentials() {
diagtest.DetailContains("Either `client_secret` or `private_key` / `private_key_file` arguments must be provide"),
}}.AssertMatch(s.T(), diags, nil)
}

6 changes: 3 additions & 3 deletions internal/microsoft/data_microsoft_sentinel_incidents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (

type SentinelIncidentsDataSourceTestSuite struct {
suite.Suite
schema *plugin.DataSource
ctx context.Context
cli *client_mocks.AzureClient
schema *plugin.DataSource
ctx context.Context
cli *client_mocks.AzureClient
}

func TestSentinelIncidentsDataSourceTestSuite(t *testing.T) {
Expand Down

0 comments on commit 5a7f08c

Please sign in to comment.