PWA: Update config test

This commit is contained in:
Michael Mayer 2021-11-22 11:36:46 +01:00
parent 62257dec5d
commit a2621fd927
2 changed files with 5 additions and 4 deletions

View file

@ -1,10 +1,11 @@
package config
import (
"github.com/photoprism/photoprism/pkg/fs"
"github.com/photoprism/photoprism/pkg/txt"
"path/filepath"
"strings"
"github.com/photoprism/photoprism/pkg/fs"
"github.com/photoprism/photoprism/pkg/txt"
)
// AppName returns the app name when installed on a device.

View file

@ -200,10 +200,10 @@ func TestConfig_AppMode(t *testing.T) {
assert.Equal(t, "standalone", c.AppMode())
}
func TestConfig_ApIcon(t *testing.T) {
func TestConfig_AppIcon(t *testing.T) {
c := NewConfig(CliTestContext())
assert.Equal(t, "favicon", c.AppIcon())
assert.Equal(t, "logo", c.AppIcon())
}
func TestConfig_NSFWModelPath(t *testing.T) {