Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin DigitalOcean spec index test to a specific commit hash #296

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index/spec_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestSpecIndex_DigitalOcean(t *testing.T) {
var rootNode yaml.Node
_ = yaml.Unmarshal(do, &rootNode)

location := "https://raw.githubusercontent.com/digitalocean/openapi/main/specification"
location := "https://raw.githubusercontent.com/digitalocean/openapi/8ce96ef186fe938bdce26fb2f5d63ac53ca9d06f/specification"
baseURL, _ := url.Parse(location)

// create a new config that allows remote lookups.
Expand Down Expand Up @@ -190,7 +190,7 @@ func TestSpecIndex_DigitalOcean(t *testing.T) {
// get all the files!
files := remoteFS.GetFiles()
fileLen := len(files)
assert.Equal(t, 1658, fileLen)
assert.Equal(t, 1660, fileLen)
assert.Len(t, remoteFS.GetErrors(), 0)

// check circular references
Expand Down
Loading