Moved dashboard theme option from the dashboard to a persisted user setting, #1458

This commit is contained in:
Torkel Ödegaard
2015-02-28 14:30:08 +01:00
parent 962b316bcf
commit 04ca85fe89
15 changed files with 56 additions and 35 deletions

View File

@@ -53,8 +53,8 @@ func TestAccountDataAccess(t *testing.T) {
ac2 := ac2cmd.Result
Convey("Should be able to read user info projection", func() {
query := m.GetUserInfoQuery{UserId: ac1.Id}
err = GetUserInfo(&query)
query := m.GetUserProfileQuery{UserId: ac1.Id}
err = GetUserProfile(&query)
So(err, ShouldBeNil)
So(query.Result.Email, ShouldEqual, "ac1@test.com")