Migrate to profile ids

This commit is contained in:
Theodor S. Midtlien
2026-06-08 14:50:25 +02:00
parent 60d2fa08b0
commit 33b1cc5449
20 changed files with 1138 additions and 349 deletions
+2 -2
View File
@@ -29,14 +29,14 @@ func TestUpDaemon(t *testing.T) {
}
sm := profilemanager.ServiceManager{}
err = sm.AddProfile("test1", currUser.Username)
created, err := sm.AddProfile("test1", currUser.Username)
if err != nil {
t.Fatalf("failed to add profile: %v", err)
return
}
err = sm.SetActiveProfileState(&profilemanager.ActiveProfileState{
Name: "test1",
ID: created.ID,
Username: currUser.Username,
})
if err != nil {