Grails
  1. Grails
  2. GRAILS-8759

Implicit @TestFor not working for controllers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Component/s: Testing
    • Labels:
      None

      Description

      Unpack attached bug report and execute

      grails test-app unit: AuthorController
      

      The test fails because the controller property can't be found in the test case. If you then uncomment the @TestFor annotation, the test runs.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jeff Scott Brown
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development