Grails
  1. Grails
  2. GRAILS-8854

Mocked Domain Classes don't work well for associations in unit tests

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Testing
    • Labels:
      None
    • Environment:
      Debian unstable amd64
    • Testcase included:
      yes

      Description

      The same tests work as an integration test, but fail as a unit test.

      See the attached example application.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Rodrigo Rosenfeld Rosas
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development