1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

chore(tests): fix invalid jobparser tests

- has_with had undetected structure error now failing the schema
- empty_step and has_secrets are invalid and caught by the schema
  there no longer is a need for them
This commit is contained in:
Earl Warren 2025-07-05 22:34:09 +02:00
parent e069333f58
commit cbdb42093b
7 changed files with 20 additions and 55 deletions

View file

@ -42,16 +42,6 @@ func TestParse(t *testing.T) {
options: nil,
wantErr: false,
},
{
name: "has_secrets",
options: nil,
wantErr: false,
},
{
name: "empty_step",
options: nil,
wantErr: false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {