Skip to content

Commit 6d8cd74

Browse files
committed
fix: Migrations url in obsolete attr
1 parent edf7011 commit 6d8cd74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bunit/BunitContext.Obsoletes.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public partial class BunitContext
55
/// <summary>
66
/// Use <see cref="Render{TComponent}(System.Action{Bunit.ComponentParameterCollectionBuilder{TComponent}}?)"/> instead.
77
/// </summary>
8-
[Obsolete($"Use {nameof(Render)} instead.", true, UrlFormat = "https://bunit.dev/docs/migration")]
8+
[Obsolete($"Use {nameof(Render)} instead.", true, UrlFormat = "https://bunit.dev/docs/migrations")]
99
public IRenderedComponent<TComponent> RenderComponent<TComponent>()
1010
where TComponent : IComponent
1111
{
@@ -15,7 +15,7 @@ public IRenderedComponent<TComponent> RenderComponent<TComponent>()
1515
/// <summary>
1616
/// Use <see cref="Render{TComponent}(System.Action{Bunit.ComponentParameterCollectionBuilder{TComponent}}?)"/> instead.
1717
/// </summary>
18-
[Obsolete($"Use {nameof(Render)} instead.", true, UrlFormat = "https://bunit.dev/docs/migration")]
18+
[Obsolete($"Use {nameof(Render)} instead.", true, UrlFormat = "https://bunit.dev/docs/migrations")]
1919
public IRenderedComponent<TComponent> RenderComponent<TComponent>(Action<ComponentParameterCollectionBuilder<TComponent>>? parameterBuilder)
2020
where TComponent : IComponent
2121
{

src/bunit/TestContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace Bunit;
22

33
/// <inheritdoc />
4-
[Obsolete($"Use {nameof(BunitContext)} instead. BunitContext will be removed in a future release.", false, UrlFormat = "https://bunit.dev/docs/migration")]
4+
[Obsolete($"Use {nameof(BunitContext)} instead. BunitContext will be removed in a future release.", false, UrlFormat = "https://bunit.dev/docs/migrations")]
55
public class TestContext : BunitContext
66
{
77
}

0 commit comments

Comments
 (0)