Skip to content

Commit

Permalink
I swear those tests passed locally, but failed on teamcity, runner mu…
Browse files Browse the repository at this point in the history
…st behave differently or something.
  • Loading branch information
seif committed Feb 3, 2012
1 parent 0589fd2 commit f87fec6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -256,10 +256,10 @@ public class when_validating_a_duplicate_entity_with_a_specified_error_message :

private Establish context = () =>
{
var tigerlillies = new Band() { BandName = "The Tiger Lillies", DateFormed = DateTime.Now };
var tigerlillies = new Band() { BandName = "King Prawn", DateFormed = DateTime.Now };
NHibernateSession.Current.Save(tigerlillies);
RepositoryTestsHelper.FlushSessionAndEvict(tigerlillies);
duplicate = new Band() { BandName = "The Tiger Lillies", DateFormed = DateTime.Now };
duplicate = new Band() { BandName = "King Prawn", DateFormed = DateTime.Now };
};

Because of = () => result = duplicate.ValidationResults();
Expand Down

0 comments on commit f87fec6

Please sign in to comment.