diff options
Diffstat (limited to 'cmd/dbasik-api/return_test.go')
-rw-r--r-- | cmd/dbasik-api/return_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/dbasik-api/return_test.go b/cmd/dbasik-api/return_test.go index d6c9daa..2aa0ac9 100644 --- a/cmd/dbasik-api/return_test.go +++ b/cmd/dbasik-api/return_test.go @@ -170,11 +170,10 @@ func TestParseXLSX(t *testing.T) { func TestPrepareFiles(t *testing.T) { fp := NewDirectoryFilePackage("../../testdata") - files, err := fp.Prepare() + files, err := PrepareFiles(fp) if err != nil { t.Error(err) } - t.Log(files) if !slices.Contains(files, "../../testdata/valid_excel.xlsx") { t.Errorf("Prepare() did not return ../../testdata/valid_excel.xlsx") } @@ -182,11 +181,10 @@ func TestPrepareFiles(t *testing.T) { func TestUnzipFiles(t *testing.T) { fp := NewZipFilePackage("../../testdata/test.zip") - files, err := fp.Prepare() + files, err := PrepareFiles(fp) if err != nil { t.Error(err) } - t.Log(files) if !slices.Contains(files, "valid_excel.xlsx") { t.Errorf("Prepare() did not return test.xlsx") } |