Rename app to radiantwave: embed and provision assets, drop proclamations
This commit is contained in:
@@ -445,6 +445,16 @@ func TestMultipleComputeStateCallsAfterDownloadComplete(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestDataDirFor verifies the per-user data directory resolves to the
|
||||
// radiantwave path, not the legacy rhemawave name.
|
||||
func TestDataDirFor(t *testing.T) {
|
||||
got := DataDirFor("/home/kiosk")
|
||||
want := "/home/kiosk/.local/share/radiantwave"
|
||||
if got != want {
|
||||
t.Errorf("DataDirFor(/home/kiosk) = %q, want %q", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
func setupTestDB(t *testing.T) *gorm.DB {
|
||||
t.Helper()
|
||||
d, err := db.Connect(":memory:")
|
||||
|
||||
Reference in New Issue
Block a user