Skip to content

Commit 545e84e

Browse files
committed
Fix tests after rename
1 parent aed80be commit 545e84e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/commander/test_apply_git.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ tests:
5252
command: ../openrun apply --branch main github.com/openrundev/openrun/tests/apply_files/apply_git_config.ace
5353
stdout: "0 app(s) created, 0 app(s) updated, 0 app(s) reloaded, 1 app(s) skipped, 0 app(s) approved, 0 app(s) promoted."
5454
apply_git0062: ## create apps with branch which is invalid for app
55-
command: ../openrun apply --branch test github.com/openrundev/openrun/tests/apply_files/apply_git_config.ace
56-
stderr: "error checking out branch test"
55+
command: ../openrun apply --branch invalid github.com/openrundev/openrun/tests/apply_files/apply_git_config.ace
56+
stderr: "error checking out branch invalid"
5757
exit-code: 1
5858
apply_git0063: ## create apps without git
5959
command: ../openrun apply ./apply_files/apply_git_config.ace

tests/test_basics.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ tests:
6565

6666
basic161: ## Check static files are using optimized fetch path (no compression/decompression)
6767
## The data should be streamed directly from sqlite. x-openrun-compressed header should be true
68-
command: 'curl -sI -H "Accept-Encoding: br" localhost:9154/test2/static/gen/lib/htmx-491955cd1810747d7d7b9ccb936400afb760e06d25d53e4572b64b6563b2784e.min.js | grep -e "X-OpenRun-Compressed: true" -e "Content-Encoding: br" -e "Content-Length: 15595" | wc -l'
68+
command: 'curl -sI -H "Accept-Encoding: br" localhost:9154/test2/static/gen/lib/htmx-491955cd1810747d7d7b9ccb936400afb760e06d25d53e4572b64b6563b2784e.min.js | grep -e "X-Openrun-Compressed: true" -e "Content-Encoding: br" -e "Content-Length: 15595" | wc -l'
6969
stdout:
7070
exactly: "3"
7171
exit-code: 0
7272

7373
basic162: ## Check static files are using are gzipped when only gzip encoding is accepted
74-
command: 'curl -sI -H "Accept-Encoding: gzip" localhost:9154/test2/static/gen/lib/htmx-491955cd1810747d7d7b9ccb936400afb760e06d25d53e4572b64b6563b2784e.min.js | grep -e "X-OpenRun-Compressed: true" -e "Content-Encoding: gzip" | wc -l'
74+
command: 'curl -sI -H "Accept-Encoding: gzip" localhost:9154/test2/static/gen/lib/htmx-491955cd1810747d7d7b9ccb936400afb760e06d25d53e4572b64b6563b2784e.min.js | grep -e "X-Openrun-Compressed: true" -e "Content-Encoding: gzip" | wc -l'
7575
stdout:
7676
exactly: "1" # X-OpenRun-Compressed is not set, content length depends on gzip
7777
exit-code: 0

0 commit comments

Comments
 (0)