aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-08 22:05:13 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 22:05:13 +0100
commitbef35d4c679de81a214c99a30916fa7ebfc3f6a8 (patch)
tree807f3ea408c6af88f9de82e00b3788bf7e361e28 /bridge/gitlab/export_test.go
parenta335725cc5f712f3f3089154afa96881284d4853 (diff)
downloadgit-bug-bef35d4c679de81a214c99a30916fa7ebfc3f6a8.tar.gz
bridge: hopefully fix tests
Diffstat (limited to 'bridge/gitlab/export_test.go')
-rw-r--r--bridge/gitlab/export_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go
index 8410ebba..1d387655 100644
--- a/bridge/gitlab/export_test.go
+++ b/bridge/gitlab/export_test.go
@@ -153,6 +153,8 @@ func TestPushPull(t *testing.T) {
author, err := backend.NewIdentity("test identity", "test@test.org")
require.NoError(t, err)
author.SetMetadata(metaKeyGitlabLogin, login)
+ err = author.Commit()
+ require.NoError(t, err)
err = backend.SetUserIdentity(author)
require.NoError(t, err)