Uploaded image for project: 'Scribble'
  1. Scribble
  2. SCRIB-34

Convenience Method for anonymous login

    Details

    • Type: Story
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.2.0, 0.2.0-alpha1, 0.2.0-alpha3
    • Labels:
      None

      Description

      As a test developer I want a convenient way to get an anonymous session similar to the admin session so that I dont have to either provide empty credentials or have to get the repository first which adds unnecessary clutter to my code.

      Desired solution

      @Rule
      ContentRepository repo;
      ...
      @Test
      public void test() {
        Session anonSession  = repo.getAnonymousSession();
      // or
        Session anonSession = repo.login();
      }
      

        Attachments

          Activity

            People

            • Assignee:
              gmuecke Gerald Mücke
              Reporter:
              gmuecke Gerald Mücke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 minutes
                7m