Skip to content

Commit 9b5bd6e

Browse files
committed
Ensure we pass skipPrivateRepositories to new tests
1 parent 8d7f05e commit 9b5bd6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests-integration/Elastic.Assembler.IntegrationTests/GlobalNavigationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ private async Task<AssembleSources> Setup()
6666
string[] nar = [NarrativeRepository.RepositoryName];
6767
var repos = nar.Concat(Context.Configuration.AvailableRepositories
6868
.Where(kv => !kv.Value.Skip)
69+
.Where(kv => !kv.Value.Private)
6970
.Select(kv => kv.Value.Name)
7071
)
7172
.ToArray();

tests-integration/Elastic.Assembler.IntegrationTests/TestHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static IConfigurationContext CreateConfigurationContext(
2323
ProductsConfiguration? productsConfiguration = null
2424
)
2525
{
26-
configurationFileProvider ??= new ConfigurationFileProvider(NullLoggerFactory.Instance, fileSystem);
26+
configurationFileProvider ??= new ConfigurationFileProvider(NullLoggerFactory.Instance, fileSystem, skipPrivateRepositories: true);
2727
versionsConfiguration ??= new VersionsConfiguration
2828
{
2929
VersioningSystems = new Dictionary<VersioningSystemId, VersioningSystem>

0 commit comments

Comments
 (0)