diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-24 11:16:36 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-27 12:24:06 -0500 |
commit | a2412492da2def90457a2a20fd043bea21ef415f (patch) | |
tree | 842907cb6d69db617e5c048d23a864c8bbd6b22a /models/access_test.go | |
parent | bb5a6b7a07125b29604f479f45e59073cb3d4648 (diff) | |
download | gitea-a2412492da2def90457a2a20fd043bea21ef415f.tar.gz gitea-a2412492da2def90457a2a20fd043bea21ef415f.zip |
Unit tests and bug fix for models/org
Diffstat (limited to 'models/access_test.go')
-rw-r--r-- | models/access_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/access_test.go b/models/access_test.go index e06db5607b..6b3cce502c 100644 --- a/models/access_test.go +++ b/models/access_test.go @@ -106,7 +106,7 @@ func TestRepository_RecalculateAccesses(t *testing.T) { has, err := x.Get(access) assert.NoError(t, err) assert.True(t, has) - assert.Equal(t, AccessModeWrite, access.Mode) + assert.Equal(t, AccessModeOwner, access.Mode) } func TestRepository_RecalculateAccesses2(t *testing.T) { |