Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tothszabi committed Jan 21, 2025
1 parent c3bffab commit 881855e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitrise/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ workflows:
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
_, warns, err := ConfigModelFromFileContent([]byte(tt.config), false)
_, warns, err := ConfigModelFromFileContent([]byte(tt.config), false, ValidationTypeFull)
require.Equal(t, []string(nil), warns)
if tt.wantErr != "" {
require.EqualError(t, err, tt.wantErr)
Expand Down Expand Up @@ -491,7 +491,7 @@ func TestConfigModelFromJSONFileContent_StepListValidation(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
_, warns, err := ConfigModelFromFileContent([]byte(tt.config), true)
_, warns, err := ConfigModelFromFileContent([]byte(tt.config), true, ValidationTypeFull)
require.Equal(t, []string(nil), warns)
if tt.wantErr != "" {
require.EqualError(t, err, tt.wantErr)
Expand Down

0 comments on commit 881855e

Please sign in to comment.