File tree 1 file changed +4
-1
lines changed
src/OctoshiftCLI.Tests/gei/Commands/MigrateRepo
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1680,7 +1680,7 @@ await _handler.Invoking(async x => await x.Handle(new MigrateRepoCommandArgs
1680
1680
}
1681
1681
1682
1682
[ Fact ]
1683
- public async Task Keep_Archive_Does_Not_Call_DeleteIfExists ( )
1683
+ public async Task Keep_Archive_Does_Not_Call_DeleteIfExists_And_Logs_Downloaded_Archive_Paths ( )
1684
1684
{
1685
1685
_mockTargetGithubApi . Setup ( x => x . GetOrganizationId ( TARGET_ORG ) . Result ) . Returns ( GITHUB_ORG_ID ) ;
1686
1686
_mockTargetGithubApi . Setup ( x => x . CreateGhecMigrationSource ( GITHUB_ORG_ID ) . Result ) . Returns ( MIGRATION_SOURCE_ID ) ;
@@ -1737,6 +1737,9 @@ public async Task Keep_Archive_Does_Not_Call_DeleteIfExists()
1737
1737
1738
1738
_mockFileSystemProvider . Verify ( x => x . DeleteIfExists ( GIT_ARCHIVE_FILE_PATH ) , Times . Never ) ;
1739
1739
_mockFileSystemProvider . Verify ( x => x . DeleteIfExists ( METADATA_ARCHIVE_FILE_PATH ) , Times . Never ) ;
1740
+
1741
+ _mockOctoLogger . Verify ( x => x . LogInformation ( $ "Git archive was successfully downloaded at \" { GIT_ARCHIVE_FILE_PATH } \" ") ) ;
1742
+ _mockOctoLogger . Verify ( x => x . LogInformation ( $ "Metadata archive was successfully downloaded at \" { METADATA_ARCHIVE_FILE_PATH } \" ") ) ;
1740
1743
}
1741
1744
1742
1745
[ Fact ]
You can’t perform that action at this time.
0 commit comments