(t *testing.T)
| 818 | } |
| 819 | |
| 820 | func TestGithubAPIEndpointIsSet(t *testing.T) { |
| 821 | cfg := getDefaultGithubConfig() |
| 822 | cfg[0].APIBaseURL = "https://github.example.com/api/v3" |
| 823 | |
| 824 | require.Equal(t, "https://github.example.com/api/v3", cfg[0].APIEndpoint()) |
| 825 | } |
| 826 | |
| 827 | func TestUploadEndpoint(t *testing.T) { |
| 828 | cfg := getDefaultGithubConfig() |
nothing calls this directly
no test coverage detected