loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
37 stars 2 forks source link

Add failing test for #3244 #3248

Closed corneliusroemer closed 2 days ago

corneliusroemer commented 2 days ago

To ensure we're fixing it in #3246

> Task :test

RevokeEndpointTest > WHEN superuser revokes entries of other group THEN superuser is submitter of revocation entry() FAILED
    java.lang.AssertionError:
    Expected: is "test_superuser"
         but: was "testuser"
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.loculus.backend.controller.TestHelpersKt.assertSubmitterIs(TestHelpers.kt:81)
        at org.loculus.backend.controller.submission.RevokeEndpointTest.WHEN superuser revokes entries of other group THEN superuser is submitter of revocation entry(RevokeEndpointTest.kt:114)