photoprism/pkg/fs/symlink_test.go
Michael Mayer 5ec90a5fff Index: Skip redundant thumbs and support symbolic file links #1049 #1874
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-06 23:01:54 +02:00

16 lines
259 B
Go

package fs
import (
"os"
"testing"
"github.com/stretchr/testify/assert"
)
func TestSymlinksSupported(t *testing.T) {
t.Run("TempDir", func(t *testing.T) {
ok, err := SymlinksSupported(os.TempDir())
assert.NoError(t, err)
assert.True(t, ok)
})
}