diff --git a/tests/integration/acp/p2p/create_test.go b/tests/integration/acp/p2p/create_test.go index d8f37034d7..8775a553d7 100644 --- a/tests/integration/acp/p2p/create_test.go +++ b/tests/integration/acp/p2p/create_test.go @@ -14,8 +14,9 @@ import ( "fmt" "testing" - testUtils "github.com/sourcenetwork/defradb/tests/integration" "github.com/sourcenetwork/immutable" + + testUtils "github.com/sourcenetwork/defradb/tests/integration" ) func TestACP_P2PCreatePrivateDocumentsOnDifferentNodes_SourceHubACP(t *testing.T) { diff --git a/tests/integration/utils.go b/tests/integration/utils.go index 004588b2d0..e6ab296140 100644 --- a/tests/integration/utils.go +++ b/tests/integration/utils.go @@ -976,7 +976,6 @@ func getIndexes( expectedErrorRaised = expectedErrorRaised || AssertError(s.t, s.testCase.Description, err, action.ExpectedError) } - } assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised) @@ -1534,7 +1533,6 @@ func updateDoc( ) expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError) } - } assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised) @@ -1862,7 +1860,6 @@ func backupImport( func() error { return node.BasicImport(s.ctx, action.Filepath) }, ) expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError) - } else { for _, node := range s.nodes { err := withRetryOnNode( @@ -1871,7 +1868,6 @@ func backupImport( ) expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError) } - } assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised)