(t *testing.T)
| 831 | } |
| 832 | |
| 833 | func TestUploadEndpointIsSet(t *testing.T) { |
| 834 | cfg := getDefaultGithubConfig() |
| 835 | cfg[0].UploadBaseURL = "https://github.example.com/uploads" |
| 836 | |
| 837 | require.Equal(t, "https://github.example.com/uploads", cfg[0].UploadEndpoint()) |
| 838 | } |
| 839 | |
| 840 | func TestGithubBaseURL(t *testing.T) { |
| 841 | cfg := getDefaultGithubConfig() |
nothing calls this directly
no test coverage detected