Skip to content
  1. Mar 18, 2014
  2. Mar 17, 2014
  3. Mar 15, 2014
    • Kohsuke Kawaguchi's avatar
    • Kohsuke Kawaguchi's avatar
      Fixing a test failure. · bd8234cc
      Kohsuke Kawaguchi authored
      The intent of this test is to make sure that a floating User object without any storage returns false from canDelete() method.
      The earlier change made User.impersonate() to actually check if the user is a valid, so to make this test case work where it does
      "user.impersonate" and "user2.impersonate2", I'm creating valid accounts for these two users.
      
      Now what that means is that user2 is no longer a floating flyweight storage-less User, so it breaks the assumption of the
      "User should not be able to delete because he is not saved." assertion.
      
      To make this test case work, I'm introducing the 3rd user that is storage-less, and using it for the test.
      bd8234cc
  4. Mar 14, 2014
  5. Mar 13, 2014
  6. Mar 12, 2014
Loading