From 73fae61e9ac95f02bf4a8b2bf9766df86413c5a3 Mon Sep 17 00:00:00 2001 From: VisualBean Date: Thu, 14 Dec 2023 14:55:59 +0100 Subject: [PATCH] fix --- test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs b/test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs index 5b71e173..273162b3 100644 --- a/test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs +++ b/test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs @@ -160,7 +160,7 @@ public void AsyncApiDocument_WithInternalComponentReference_ResolvesReference() var settings = new AsyncApiReaderSettings() { - ReferenceResolution = ReferenceResolutionSetting.ResolveInternalReferences, + ReferenceResolution = ReferenceResolutionSetting.ResolveReferences, }; var reader = new AsyncApiStringReader(settings); @@ -189,11 +189,11 @@ public void AsyncApiDocument_WithExternalReference_DoesNotResolve() version: 1.0.0 channels: myChannel: - $ref: https://gist.githubusercontent.com/VisualBean/826205b3f599f3ca520c8507bdc62e41/raw/31030db12e5700039244864c6b5531d2b24f95b2/channel.yaml"; + $ref: http://example.com/channel.json"; var settings = new AsyncApiReaderSettings() { - ReferenceResolution = ReferenceResolutionSetting.ResolveAllReferences, + ReferenceResolution = ReferenceResolutionSetting.ResolveReferences, }; var reader = new AsyncApiStringReader(settings);