Skip to content

Commit

Permalink
Update validate_metadata_test.go (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophieyfang authored Oct 3, 2022
1 parent 851a019 commit c07876b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions integration_test/validate_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ func TestThirdPartyPublicUrls(t *testing.T) {
err := walkThirdPartyApps(func(contents []byte) error {
integrationMetadata := &metadata.IntegrationMetadata{}
err := metadata.UnmarshalAndValidate(contents, integrationMetadata)
if integrationMetadata.MinimumSupportedAgentVersion == nil {
// If the application support has not been released, it will not
// have a public URL to validate
if integrationMetadata.PublicUrl == "" {
// The public doc isn't available yet.
return nil
}
if err != nil {
Expand Down

0 comments on commit c07876b

Please sign in to comment.