java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHAppExtendedTest
Tests for the GitHub App Api Test
- Author:
- Daniel Baur
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests App creation via the App Manifest Flow.void
Gets the GitHub App by its slug.Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
Constructor Details
-
GHAppExtendedTest
public GHAppExtendedTest()Create default GHAppExtendedTest instance
-
-
Method Details
-
getAppBySlugTest
Gets the GitHub App by its slug.- Throws:
IOException
- An IOException has occurred.
-
createAppByManifestFlowTest
Tests App creation via the App Manifest Flow. The used code defined below was only valid for a short time, meaning that you can not replay the test against the GitHub API. Use the stored wire snapshot for executing those tests.- Throws:
IOException
- An IOException has occurred.
-