Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca committed Nov 6, 2024
1 parent fbf1c8d commit e673ced
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -706,10 +706,8 @@ public async Task BBS_Single_Repo_With_UseGithubStorage()
{
// Arrange
var TARGET_API_URL = "https://foo.com/api/v3";
const string BBS_SERVER_URL = "http://bbs-server-url";
const string BBS_PROJECT_KEY = "BBS-PROJECT";
const string BBS_REPO_SLUG = "repo-slug";
const string GITHUB_ORG = "GITHUB-ORG";

_mockBbsApi.Setup(m => m.GetProjects()).ReturnsAsync(new[]
{
Expand All @@ -720,7 +718,6 @@ public async Task BBS_Single_Repo_With_UseGithubStorage()
(Id: 1, Slug: BBS_REPO_SLUG, Name: "RepoName"),
});

var migrateRepoCommand = $"Exec {{ gh bbs2gh migrate-repo --bbs-server-url \"{BBS_SERVER_URL}\" --bbs-project \"{BBS_PROJECT_KEY}\" --bbs-repo \"{BBS_REPO_SLUG}\" --github-org \"{GITHUB_ORG}\" --target-api-url \"{TARGET_API_URL}\" --github-repo \"{BBS_PROJECT_KEY}-{BBS_REPO_SLUG}\" --use-github-storage --target-repo-visibility private }}";

// Act
var args = new GenerateScriptCommandArgs
Expand Down

0 comments on commit e673ced

Please sign in to comment.