From 454ba024ba41fcdbe220a6b7c5f1eceabd4670e4 Mon Sep 17 00:00:00 2001 From: byCrookie Date: Mon, 11 Dec 2023 11:32:43 +0100 Subject: [PATCH] fix tests --- ...iTests.RunAsync___args=--help.verified.txt | 11 +++-- .../CliTests.RunAsync___args=.verified.txt | 11 +++-- ...ithSelectedRepositories_Start.verified.txt | 48 +++++++++---------- 3 files changed, 36 insertions(+), 34 deletions(-) diff --git a/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=--help.verified.txt b/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=--help.verified.txt index 0583b74..f889b8d 100644 --- a/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=--help.verified.txt +++ b/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=--help.verified.txt @@ -13,11 +13,12 @@ Options: Commands: manual Manually backup a Github user. This command is interactive. - migrate Migrate a Github user. + migrate Migrate a Github user. This command will create a new migration for the given repositories. login Login to Github. Persists your login token to disk for future use. Only one login token can be persisted at a time. - migrations List migrations. - repositories List repositories. - download Download migrations. - backup Backup a Github user. + migrations List migrations for a Github user. + repositories List repositories for a Github user. + download Download migrations for a Github user. + backup Backup a Github user. This command will create a new migration + for the given repositories and download it when ready. diff --git a/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=.verified.txt b/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=.verified.txt index 389a56a..d583fcd 100644 --- a/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=.verified.txt +++ b/GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=.verified.txt @@ -18,11 +18,12 @@ Options: Commands: manual Manually backup a Github user. This command is interactive. - migrate Migrate a Github user. + migrate Migrate a Github user. This command will create a new migration for the given repositories. login Login to Github. Persists your login token to disk for future use. Only one login token can be persisted at a time. - migrations List migrations. - repositories List repositories. - download Download migrations. - backup Backup a Github user. + migrations List migrations for a Github user. + repositories List repositories for a Github user. + download Download migrations for a Github user. + backup Backup a Github user. This command will create a new migration + for the given repositories and download it when ready. diff --git a/GithubBackup.Cli.Tests/Commands/Github/Manual/ManualRunnerTests.RunAsync_StartMigrationWithSelectedRepositories_Start.verified.txt b/GithubBackup.Cli.Tests/Commands/Github/Manual/ManualRunnerTests.RunAsync_StartMigrationWithSelectedRepositories_Start.verified.txt index 208fed9..32ab99a 100644 --- a/GithubBackup.Cli.Tests/Commands/Github/Manual/ManualRunnerTests.RunAsync_StartMigrationWithSelectedRepositories_Start.verified.txt +++ b/GithubBackup.Cli.Tests/Commands/Github/Manual/ManualRunnerTests.RunAsync_StartMigrationWithSelectedRepositories_Start.verified.txt @@ -43,13 +43,13 @@ backed up. (Press to toggle a repository, to accept) Select options to start migration? > [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [ ] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [ ] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -59,13 +59,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. > [ ] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [ ] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -75,13 +75,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. > [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [ ] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -91,13 +91,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. > [ ] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -107,13 +107,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. > [X] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -123,13 +123,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [X] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. -> [ ] Exclude Attachements - Do not include attachments in the migration - [ ] Exclude Releases - Do not include releases in the migration +> [ ] Exclude Attachements - Do not include attachments in the migration. + [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -139,13 +139,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [X] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration -> [ ] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. +> [ ] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include @@ -155,13 +155,13 @@ flags). (Press to toggle a option, to accept) Select options to start migration? [ ] Lock Repositories - Lock the repositories being migrated at the start of -the migration +the migration. [X] Exclude Metadata - Indicates whether metadata should be excluded and only git source should be included for the migration. [X] Exclude Git Data - Indicates whether the repository git data should be excluded from the migration. - [ ] Exclude Attachements - Do not include attachments in the migration -> [X] Exclude Releases - Do not include releases in the migration + [ ] Exclude Attachements - Do not include attachments in the migration. +> [X] Exclude Releases - Do not include releases in the migration. [ ] Exclude Owner Projects - Indicates whether projects owned by the organization or users should be excluded. [ ] Org Metadata Only - Indicates whether this should only include