aboutsummaryrefslogtreecommitdiff
path: root/internal/gallery
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gallery')
-rw-r--r--internal/gallery/builder_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gallery/builder_test.go b/internal/gallery/builder_test.go
index 88b4533..91fa4ae 100644
--- a/internal/gallery/builder_test.go
+++ b/internal/gallery/builder_test.go
@@ -17,8 +17,8 @@ func TestBuilder(t *testing.T) {
t.Run("builds gallery photos", func(t *testing.T) {
files := []scanner.File{
{
- Path: filepath.Join("..", "metadata", "testdata", "Canon_40D.jpg"),
- Root: "testdata",
+ Path: filepath.Join("..", "testfixtures", "Canon_40D.jpg"),
+ Root: "testfixtures",
RelativePath: "Canon_40D.jpg",
ModTime: time.Now(),
},
@@ -36,7 +36,7 @@ func TestBuilder(t *testing.T) {
t.Run("generates deterministic ids", func(t *testing.T) {
file := scanner.File{
- Path: filepath.Join("..", "metadata", "testdata", "Canon_40D.jpg"),
+ Path: filepath.Join("..", "testfixtures", "Canon_40D.jpg"),
Root: "photos",
RelativePath: "Canon_40D.jpg",
ModTime: time.Now(),