aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-11-08 17:54:28 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:15:41 +0100
commitfb0c5fd06184f33a03d8d4fb29a3aef8b1dafe78 (patch)
treea0d87d04a991368840645591f11284b7ea27160c /bridge
parent44d7587940f842a343a64d9107601591bdfb1027 (diff)
downloadgit-bug-fb0c5fd06184f33a03d8d4fb29a3aef8b1dafe78.tar.gz
repo: expose all lamport clocks, move clocks in their own folder
Diffstat (limited to 'bridge')
-rw-r--r--bridge/core/auth/credential_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/core/auth/credential_test.go b/bridge/core/auth/credential_test.go
index 60c631d7..8bb25835 100644
--- a/bridge/core/auth/credential_test.go
+++ b/bridge/core/auth/credential_test.go
@@ -11,7 +11,7 @@ import (
)
func TestCredential(t *testing.T) {
- repo := repository.NewMockRepoForTest()
+ repo := repository.NewMockRepo()
storeToken := func(val string, target string) *Token {
token := NewToken(target, val)
@@ -102,7 +102,7 @@ func sameIds(t *testing.T, a []Credential, b []Credential) {
}
func testCredentialSerial(t *testing.T, original Credential) Credential {
- repo := repository.NewMockRepoForTest()
+ repo := repository.NewMockRepo()
original.SetMetadata("test", "value")