Skip to content

Commit 3b4a45c

Browse files
committed
refactoring
1 parent 6cec813 commit 3b4a45c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

example/example_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ import (
44
"errors"
55
"fmt"
66

7-
"code.google.com/p/go-uuid/uuid"
8-
"code.google.com/p/go.crypto/bcrypt"
97
"github.com/andrewwebber/cqrs"
108
"github.com/andrewwebber/cqrs/couchbase"
119
"github.com/andrewwebber/cqrs/rabbit"
12-
"github.com/logrusorgru/glr"
10+
"golang.org/x/crypto/bcrypt"
11+
1312
// "github.com/andrewwebber/cqrs/rethinkdb"
1413
// r "github.com/dancannon/gorethink"
1514
"log"
@@ -245,7 +244,7 @@ func RunScenario(t *testing.T, persistance cqrs.EventStreamRepository) {
245244
stopChannel := make(chan bool)
246245
go eventDispatcher.Listen(stopChannel)
247246

248-
testCorrelationID := uuid.New()
247+
testCorrelationID := cqrs.NewUUIDString()
249248
readModel.LoadAccounts(persistance)
250249

251250
usersModel.LoadUsers(persistance)

0 commit comments

Comments
 (0)