Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5667

fix/extend Personal Access Token acceptance tests

    XMLWordPrintable

    Details

      Description

      Acceptance tests are using init_users fixture, which may return unpredictable results. Use different fixture or fix currently used one.
      Also looks like database is not always migrated when running the tests.

      Acceptance criteria:

      • fix fixture for getting users or create a new one;
      • make sure we run the tests with migrated database;
      • test tokens limit per user (is tested in unit tests, but only partially)
      • test token name duplication (is tested in unit tests, but only partially)

        Attachments

          Activity

            People

            Assignee:
            MaciejTe Maciej Tomczuk
            Reporter:
            kjaskiewicz Krzysztof Jaśkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support