Skip to content

Commit 3398f32

Browse files
committed
Fix server test
1 parent ee18a78 commit 3398f32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535
cd tests/servers/webdav
3636
node server.js &
3737
sleep 5
38-
# Test directory listing
39-
curl -X PROPFIND "http://localhost:3000/on/demandware.servlet/webdav/Sites/Logs/" -H "Depth: 1" -s | grep -q "Job-ImportCatalog"
38+
# Test directory listing - check that jobs directory exists and contains ImportCatalog
39+
curl -X PROPFIND "http://localhost:3000/on/demandware.servlet/webdav/Sites/Logs/" -H "Depth: 1" -s | grep -q "jobs"
40+
curl -X PROPFIND "http://localhost:3000/on/demandware.servlet/webdav/Sites/Logs/jobs/" -H "Depth: 1" -s | grep -q "ImportCatalog"
4041
4142
- name: Run tests
4243
run: npm test

0 commit comments

Comments
 (0)