WIP: Add or update Dashboard ACL

SQL Integration Tests for the guardian class too.
This commit is contained in:
Daniel Lee
2017-06-12 15:49:09 +02:00
parent 3785894b40
commit 97c13b77bf
7 changed files with 236 additions and 13 deletions
+1
View File
@@ -15,6 +15,7 @@ func InitTestDB(t *testing.T) {
x, err := xorm.NewEngine(sqlutil.TestDB_Sqlite3.DriverName, sqlutil.TestDB_Sqlite3.ConnStr)
//x, err := xorm.NewEngine(sqlutil.TestDB_Mysql.DriverName, sqlutil.TestDB_Mysql.ConnStr)
//x, err := xorm.NewEngine(sqlutil.TestDB_Postgres.DriverName, sqlutil.TestDB_Postgres.ConnStr)
// x.ShowSQL()
if err != nil {
t.Fatalf("Failed to init in memory sqllite3 db %v", err)