PWA: Update config test
This commit is contained in:
parent
62257dec5d
commit
a2621fd927
2 changed files with 5 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue