• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #4544

12 Sep 2023 04:51PM UTC coverage: 75.995% (-0.008%) from 76.003%
#4544

push

web-flow
[DUOS-2660][risk=no] Upgrade authentication tests to MockitoExtension (#2140)

9317 of 12260 relevant lines covered (76.0%)

0.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/main/java/org/broadinstitute/consent/http/authentication/DefaultAuthenticator.java
1
package org.broadinstitute.consent.http.authentication;
2

3
import io.dropwizard.auth.Authenticator;
4
import java.util.Optional;
5
import org.broadinstitute.consent.http.models.AuthUser;
6

7
public class DefaultAuthenticator implements Authenticator<String, AuthUser> {
1✔
8

9
  @Override
10
  public Optional<AuthUser> authenticate(String s) {
11
    return Optional.of(new AuthUser(s));
×
12
  }
13
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc