Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 2219bb5

Browse files
KobzolMark-Simulacrum
authored andcommitted
Fix tests
1 parent 93ce0b3 commit 2219bb5

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/github/tests/test_utils.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ use derive_builder::Builder;
44
use rust_team_data::v1::{GitHubTeam, Person, TeamGitHub, TeamKind};
55

66
use crate::github::api::{
7-
BranchProtection, GithubRead, Repo, RepoTeam, RepoUser, Team, TeamMember, TeamPrivacy, TeamRole,
7+
BranchProtection, GithubRead, OrgAppInstallation, Repo, RepoAppInstallation, RepoTeam,
8+
RepoUser, Team, TeamMember, TeamPrivacy, TeamRole,
89
};
910
use crate::github::{api, SyncGitHub, TeamDiff};
1011

@@ -217,6 +218,17 @@ impl GithubRead for GithubMock {
217218
.collect())
218219
}
219220

221+
fn org_app_installations(&self, _org: &str) -> anyhow::Result<Vec<OrgAppInstallation>> {
222+
Ok(vec![])
223+
}
224+
225+
fn app_installation_repos(
226+
&self,
227+
_installation_id: u64,
228+
) -> anyhow::Result<Vec<RepoAppInstallation>> {
229+
Ok(vec![])
230+
}
231+
220232
fn org_teams(&self, org: &str) -> anyhow::Result<Vec<(String, String)>> {
221233
assert_eq!(org, DEFAULT_ORG);
222234
Ok(self

0 commit comments

Comments
 (0)