Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ayende committed Sep 5, 2014
1 parent f5b4432 commit 1bcb063
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Raven.Tests/Bugs/LazyBug.cs
Expand Up @@ -13,7 +13,7 @@ public void ShouldLoadLinkAndUserAccountLazily()
{
using (var store = new DocumentStore
{
Url = "http://localhost.fiddler:8080"
Url = "http://localhost:8080"
}.Initialize())
{
using (var session = store.OpenSession())
Expand Down
6 changes: 3 additions & 3 deletions Raven.Tests/Bugs/SortingAsMaxInt.cs
Expand Up @@ -14,7 +14,7 @@ public class SortingAsMaxInt : RavenTest
{
public class User
{
public long Age;
public int Age;
}

public class Users_ByAge : AbstractIndexCreationTask<User>
Expand All @@ -38,7 +38,7 @@ public void CanSortOnMaxInt()
using (var s = store.OpenSession())
{
s.Store(new User{Age = 182});
s.Store(new User { Age = ((long)int.MaxValue)+1L});
s.Store(new User { Age = int.MaxValue});
s.SaveChanges();
}
WaitForIndexing(store);
Expand All @@ -50,7 +50,7 @@ public void CanSortOnMaxInt()
.ToList();

Assert.Equal(182, a[0].Age);
Assert.Equal(int.MaxValue+1L, a[1].Age);
Assert.Equal(int.MaxValue, a[1].Age);
}
}
}
Expand Down

0 comments on commit 1bcb063

Please sign in to comment.