Skip to content

Commit

Permalink
Disable Licence content test
Browse files Browse the repository at this point in the history
Need to mock raw.githubusercontent.com to make this work
  • Loading branch information
bitwiseman committed Oct 4, 2019
1 parent 3972d11 commit 20cfb26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
</properties>

<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<excludes>
<exclude>**/wiremock/**</exclude>
</excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/org/kohsuke/github/GHLicenseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ public void checkRepositoryFullLicense() throws IOException {
*/
@Test
public void checkRepositoryLicenseContent() throws IOException {
requireProxy("Uses https://raw.githubusercontent.com which is not wiremocked yet.");

GHRepository repo = gitHub.getRepository("pomes/pomes");
GHContent content = repo.getLicenseContent();
assertNotNull("The license content is populated", content);
Expand Down

0 comments on commit 20cfb26

Please sign in to comment.