Skip to content

Commit

Permalink
fixup! [#25] Redirect parse Golden tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aeqz committed Dec 21, 2022
1 parent bf6c659 commit b1dc0ec
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/bad-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
to: ^.*$
on: 404
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/bad-on.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
to: ^.*$
on: premanent
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/bad-outcome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: flow
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/bad-to.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
to: 42
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/full-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
to: ^https://.*$
on: permanent
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/no-outcome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
on: temporary
- to: ^https://.*$
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/only-outcome-on.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: invalid
on: 302
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/only-outcome-to.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: valid
to: ^https://.*$
2 changes: 1 addition & 1 deletion tests/golden/check-redirect-parse/only-outcome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ scanners:
flavor: GitHub

networking:
externalRefRedirects:
externalRefRedirects:
- outcome: follow

0 comments on commit b1dc0ec

Please sign in to comment.