Allow settting of default org id to auto-assign to (#12401)

Author:    Mark Meyer <mark@ofosos.org>
This commit is contained in:
Mark Meyer
2018-07-13 12:14:40 -07:00
committed by Torkel Ödegaard
parent 7ae844518c
commit 0f6e5e2953
5 changed files with 21 additions and 4 deletions
+1
View File
@@ -17,6 +17,7 @@ func TestAccountDataAccess(t *testing.T) {
Convey("Given single org mode", func() {
setting.AutoAssignOrg = true
setting.AutoAssignOrgId = 1
setting.AutoAssignOrgRole = "Viewer"
Convey("Users should be added to default organization", func() {