mirror of
https://github.com/foomo/redirects.git
synced 2025-10-16 12:35:37 +00:00
Revert "ECOM-12329 fix: skip unit test which requires mongodb"
This reverts commit 70dcd03886.
This commit is contained in:
parent
70dcd03886
commit
58779b9fb3
@ -8,8 +8,6 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/foomo/contentserver/content"
|
||||
testingx "github.com/foomo/go/testing"
|
||||
tagx "github.com/foomo/go/testing/tag"
|
||||
keelmongo "github.com/foomo/keel/persistence/mongo"
|
||||
redirectapi "github.com/foomo/redirects/domain/redirectdefinition"
|
||||
redirectcommand "github.com/foomo/redirects/domain/redirectdefinition/command"
|
||||
@ -26,7 +24,6 @@ var contentNodes []byte
|
||||
var contentNodesChanged []byte
|
||||
|
||||
func TestGetAllRedirects(t *testing.T) {
|
||||
testingx.Tags(t, tagx.Skip) // needs mongodb
|
||||
l := zap.L()
|
||||
mongoURI := "mongodb://localhost:27017/local"
|
||||
remotePersistor, err := keelmongo.New(
|
||||
@ -47,7 +44,6 @@ func TestGetAllRedirects(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
func TestGenerateAutoRedirects(t *testing.T) {
|
||||
testingx.Tags(t, tagx.Skip) // needs mongodb
|
||||
l := zap.L()
|
||||
mongoURI := "mongodb://localhost:27017/local"
|
||||
remotePersistor, err := keelmongo.New(
|
||||
|
||||
1
go.mod
1
go.mod
@ -23,7 +23,6 @@ require (
|
||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
||||
github.com/fbiville/markdown-table-formatter v0.3.0 // indirect
|
||||
github.com/felixge/httpsnoop v1.0.4 // indirect
|
||||
github.com/foomo/go v0.0.3
|
||||
github.com/go-logr/logr v1.4.2 // indirect
|
||||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
||||
|
||||
2
go.sum
2
go.sum
@ -31,8 +31,6 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2
|
||||
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
|
||||
github.com/foomo/contentserver v1.10.2 h1:a0bWTAI/aVQjXM8otuDHY8mML+7rXTU4L6j7ratfycw=
|
||||
github.com/foomo/contentserver v1.10.2/go.mod h1:ycAEPcUR+v6rL5rPinOanLeHLfcRuab28n/2JYMwSYg=
|
||||
github.com/foomo/go v0.0.3 h1:5pGzcPC78dImuBTT7nsZZnH+GIQUylbCtMkFEH26uZk=
|
||||
github.com/foomo/go v0.0.3/go.mod h1:x6g64wiQusqaFElnh5rlk9unCgLKmfUWy0YFLejJxio=
|
||||
github.com/foomo/gotsrpc/v2 v2.8.1 h1:UW2OMZ4WLZn2+nTbJuyhxsJuSGUm1AAHU8mTg5K51YI=
|
||||
github.com/foomo/gotsrpc/v2 v2.8.1/go.mod h1:JEouU6o526p+RPTqM0DOS/AVr1CbE9DyCIJAAy/VuMI=
|
||||
github.com/foomo/keel v0.18.1 h1:XQgCUdnB4hJufPkm1pxtJjI2Nv81rNpgzRO0WCEsYeE=
|
||||
|
||||
Loading…
Reference in New Issue
Block a user