Skip to content
  1. Mar 24, 2014
  2. Mar 23, 2014
  3. Mar 22, 2014
  4. Mar 21, 2014
  5. Mar 20, 2014
  6. Mar 19, 2014
  7. Mar 18, 2014
  8. Mar 17, 2014
  9. 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
  10. Mar 14, 2014