Skip to content

Fix broken integration tests  #507

@varadarajana

Description

@varadarajana

The integration tests are now broken.

After cloning the repository, I tried running the integration test cases in the tests/integration folder with GITHUB_AUTH_TOKEN set in environment.

Here is what I did from the GitHub folder
go get -t -v ./...
go test -v ../tests/integration/*

Here is the error I got
../tests/integration/repos_test.go:117: branch.Protection undefined (type *github.Branch has no field or method Protection)
...
../tests/integration/repos_test.go:140: too many errors
FAIL command-line-arguments [build failed]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions