Skip to content
Browse files

fix build error

  • Loading branch information...
1 parent 72b638b commit 12cca58014bbc6fc011cce6e8f206a1bebb6be1d @mythz mythz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/ServiceStack.Common.Tests/UrlExtensionTests.cs
View
2 tests/ServiceStack.Common.Tests/UrlExtensionTests.cs
@@ -178,7 +178,7 @@ public void Can_use_non_default_for_nullable_value_types_on_querystring()
public void Can_combine_Uris_with_toUrl()
{
var serviceEndpoint = new Uri("http://localhost/api/", UriKind.Absolute);
- var actionUrl = new Uri(new JustId { Id = 1 }.ToUrl("GET").Substring(), UriKind.Relative);
+ var actionUrl = new Uri(new JustId { Id = 1 }.ToUrl("GET").Substring(1), UriKind.Relative);
Assert.That(new Uri(serviceEndpoint, actionUrl).ToString(), Is.EqualTo("http://localhost/api/route/1"));
}

0 comments on commit 12cca58

Please sign in to comment.
Something went wrong with that request. Please try again.