Skip to content

Commit

Permalink
Update the order Expects for operation deletion in E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgwest committed Sep 23, 2023
1 parent 6184336 commit db09f6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend-shared/db/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,8 @@ func SetupForTestingDBGinkgo() error {

if instanceToBeDeleted || strings.HasPrefix(operation.Operation_id, "test-") || strings.HasPrefix(operation.Operation_owner_user_id, "test-") || operation.Operation_owner_user_id == specialClusterUser.Clusteruser_id {
rowsAffected, err := dbq.CheckedDeleteOperationById(ctx, operation.Operation_id, operation.Operation_owner_user_id)
Expect(rowsAffected).Should(Equal(1))
Expect(err).ToNot(HaveOccurred())

Expect(rowsAffected).Should(Equal(1))
}
}

Expand Down

0 comments on commit db09f6f

Please sign in to comment.