Skip to content

Commit

Permalink
CID-2744: remove unused organisation nodeId
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Jul 23, 2024
1 parent e47de92 commit d562bf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data class Account(
data class Organization(
@JsonProperty("login") val login: String,
@JsonProperty("id") val id: Int,
@JsonProperty("node_id") val nodeId: String,
)

@JsonIgnoreProperties(ignoreUnknown = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class GitHubScanningServiceTest {
every { gitHubClient.createInstallationToken(1, any()) } returns
InstallationTokenResponse("testToken", "2024-01-01T00:00:00Z", mapOf(), "all")
every { cachingService.set(any(), any(), any()) } returns Unit
every { gitHubClient.getOrganizations(any()) } returns listOf(Organization("testOrganization", 1, "testNodeId"))
every { gitHubClient.getOrganizations(any()) } returns listOf(Organization("testOrganization", 1))
every { gitHubGraphQLService.getRepositories(any(), any()) } returns PagedRepositories(
repositories = emptyList(),
hasNextPage = false,
Expand Down

0 comments on commit d562bf1

Please sign in to comment.