3
0

Fix part of the broken tests

This commit is contained in:
Tomaž Jerman
2022-12-09 11:18:18 +01:00
parent 05704b0b77
commit 3bb299ce72
17 changed files with 20 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ package handlers
import (
"context"
"errors"
"fmt"
"net/http"
"net/url"
"testing"

View File

@@ -2,6 +2,7 @@ package handlers
import (
"errors"
"fmt"
"net/http"
"net/url"
"testing"

View File

@@ -2,7 +2,7 @@ package handlers
import (
"context"
"errors"
"fmt"
"net/http"
"net/url"
"testing"

View File

@@ -2,7 +2,7 @@ package handlers
import (
"context"
"errors"
"fmt"
"net/http"
"net/url"
"testing"

View File

@@ -2,7 +2,7 @@ package automation
import (
"context"
"errors"
"fmt"
"testing"
"github.com/cortezaproject/corteza/server/pkg/expr"

View File

@@ -3,12 +3,13 @@ package commands
import (
"context"
"fmt"
"time"
"github.com/brianvoe/gofakeit/v6"
"github.com/cortezaproject/corteza/server/compose/service"
"github.com/cortezaproject/corteza/server/compose/types"
"github.com/cortezaproject/corteza/server/pkg/auth"
"github.com/cortezaproject/corteza/server/pkg/cli"
"time"
"github.com/spf13/cobra"
)

View File

@@ -3,7 +3,7 @@ package service
import (
"context"
"encoding/json"
"errors"
"fmt"
"testing"
cs "github.com/cortezaproject/corteza/server/compose/service"

View File

@@ -2,7 +2,7 @@ package service
import (
"context"
"errors"
"fmt"
"testing"
cs "github.com/cortezaproject/corteza/server/compose/service"

View File

@@ -1,7 +1,7 @@
package util
import (
"errors"
"fmt"
"net/url"
"strconv"
)

View File

@@ -3,7 +3,7 @@ package filter
import (
"context"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"

View File

@@ -1,7 +1,7 @@
package pipeline
import (
"errors"
"fmt"
"net/http"
"net/http/httptest"
"testing"

View File

@@ -1,7 +1,7 @@
package apigw
import (
"errors"
"fmt"
"net/http"
"net/http/httptest"
"testing"

View File

@@ -2,7 +2,7 @@ package apigw
import (
"context"
"errors"
"fmt"
"testing"
"github.com/cortezaproject/corteza/server/pkg/apigw/registry"

View File

@@ -1,7 +1,7 @@
package mail
import (
"errors"
"fmt"
"testing"
"github.com/golang/mock/gomock"

View File

@@ -2,7 +2,7 @@ package consumer
import (
"context"
"errors"
"fmt"
"testing"
"time"

View File

@@ -1,10 +1,11 @@
package ddl
import (
"github.com/cortezaproject/corteza/server/pkg/dal"
"github.com/stretchr/testify/require"
"strings"
"testing"
"github.com/cortezaproject/corteza/server/pkg/dal"
"github.com/stretchr/testify/require"
)
type (

View File

@@ -2,6 +2,7 @@ package helpers
import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"