File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
LinkDotNet.Blog.UnitTests/Web/Shared Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public void ShouldOpenBlogPost()
20
20
21
21
var readMore = cut . Find ( ".read-more a" ) ;
22
22
23
- readMore . Attributes . Single ( a => a . Name == "href" ) . Value . Should ( ) . Be ( "/SomeId" ) ;
23
+ readMore . Attributes . Single ( a => a . Name == "href" ) . Value . Should ( ) . Be ( "/blogPost/ SomeId" ) ;
24
24
}
25
25
26
26
[ Fact ]
Original file line number Diff line number Diff line change 1
- @* This url is deprecated and will be removed in a future release *@
2
1
@page " /blogPost/{blogPostId}"
3
- @page " /{blogPostId}"
4
2
@using LinkDotNet .Domain
5
3
@using LinkDotNet .Infrastructure .Persistence
6
4
@using Markdig
Original file line number Diff line number Diff line change 26
26
<h2 ></h2 >
27
27
<p >@RenderMarkupString(BlogPost.ShortDescription) </p >
28
28
<p class =" read-more" >
29
- <a href =" /@BlogPost.Id" >Read More</a >
29
+ <a href =" /blogPost/ @BlogPost.Id" >Read More</a >
30
30
</p >
31
31
</div >
32
32
</div >
You can’t perform that action at this time.
0 commit comments