Build(deps): bump gitlab.com/unboundsoftware/apex-mocks from 0.1.0 to 0.2.0 #154

Merged
argoyle merged 2 commits from dependabot-go_modules-gitlab.com-unboundsoftware-apex-mocks-0.2.0 into main 2022-06-17 10:50:55 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 85d11a760c - Show all commits
+1 -1
View File
@@ -60,7 +60,7 @@ func Test_start(t *testing.T) {
CLI.Port = tt.args.port
CLI.Bucket = tt.args.bucket
CLI.ReturnURL = tt.args.url
if err := start(logger.Logger); (err != nil) != tt.wantErr {
if err := start(logger); (err != nil) != tt.wantErr {
t.Errorf("start() error = %v, wantErr %v", err, tt.wantErr)
}
logger.Check(t, tt.wantLogged)
+1 -1
View File
@@ -226,7 +226,7 @@ func TestServer(t *testing.T) {
if tt.args.store != nil {
store = tt.args.store(t)
}
server := New(store, tt.args.url, logger.Logger)
server := New(store, tt.args.url, logger)
server.(*Server).now = func() time.Time {
return time.Date(2021, 11, 25, 7, 43, 12, 0, time.UTC)
}