fix: Allow shorter usernames (DEV-3797) #6135
651 passed, 1 failed and 0 skipped
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.IriSpec.xml
7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.IriSpec | 7✅ | 1s |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.KnoraGroupSpec.xml
7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.KnoraGroupSpec | 7✅ | 1s |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.LangStringSpec.xml
12 tests were completed in 1s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.LangStringSpec | 12✅ | 1s |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.LanguageCodeSpec.xml
8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.LanguageCodeSpec | 8✅ | 1s |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.RestrictedViewSpec.xml
5 tests were completed in 632ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.RestrictedViewSpec | 5✅ | 632ms |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaCommandsSpec.xml
1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.SchemaCommandsSpec | 1✅ | 16ms |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaSpec.xml
52 tests were completed in 5s with 52 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.SchemaSpec | 52✅ | 5s |
✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.UuidUtilSpec.xml
2 tests were completed in 58ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
dsp.valueobjects.UuidUtilSpec | 2✅ | 58ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.config.AppConfigSpec.xml
1 tests were completed in 128ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.config.AppConfigSpec | 1✅ | 128ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.core.MessageRelaySpec.xml
2 tests were completed in 446ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.core.MessageRelaySpec | 2✅ | 446ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.http.version.ServerVersionSpec.xml
1 tests were completed in 337ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.http.version.ServerVersionSpec | 1✅ | 337ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.rdf.JsonLDObjectSpec.xml
63 tests were completed in 25s with 63 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.messages.util.rdf.JsonLDObjectSpec | 63✅ | 25s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec.xml
1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec | 1✅ | 16ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec.xml
4 tests were completed in 86ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec | 4✅ | 86ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.routing.RouteUtilZSpec.xml
3 tests were completed in 665ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.routing.RouteUtilZSpec | 3✅ | 665ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.AuthorizationRestServiceSpec.xml
11 tests were completed in 18s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.api.service.AuthorizationRestServiceSpec | 11✅ | 18s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.MaintenanceServiceSpec.xml
5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.api.service.MaintenanceServiceSpec | 5✅ | 1s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.AdministrativePermissionRepoSpec.xml
6 tests were completed in 8s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.AdministrativePermissionRepoSpec | 6✅ | 8s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.GroupIriSpec.xml
3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.GroupIriSpec | 3✅ | 3s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec.xml
22 tests were completed in 11s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec | 22✅ | 11s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.ListPropertiesSpec.xml
13 tests were completed in 2s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.ListPropertiesSpec | 13✅ | 2s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.PermissionIriSpec.xml
3 tests were completed in 167ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.PermissionIriSpec | 3✅ | 167ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UserIriSpec.xml
1 tests were completed in 191ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.UserIriSpec | 1✅ | 191ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UsernameSpec.xml
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.UsernameSpec | 2✅ | 2s |
❌ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UserSpec.xml
32 tests were completed in 13s with 31 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.model.UserSpec | 31✅ | 1❌ | 13s |
❌ org.knora.webapi.slice.admin.domain.model.UserSpec
✅ - Username - Username must not be empty
✅ - Username - Username may contain alphanumeric characters, underscore, hyphen and dot
✅ - Username - Username has to be at most 50 characters long
❌ - Username - Username has to be at least 4 characters long
sbt.ForkMain$ForkError: java.lang.Exception: [31m- Username has to be at least 4 characters long[0m
✅ - Username - Username must not start with a dot
✅ - Username - Username must not contain two dots in a row
✅ - Username - Username must not contain other characters
✅ - Username - Username must not start with an underscore
✅ - Username - Username must not end with an underscore
✅ - Username - Username must not contain two underscores in a row
✅ - Username - Username must not start with an hyphen
✅ - Username - Username must not end with an hyphen
✅ - Username - Username must not contain two hyphen in a row
✅ - Email - Email must be a correct email address
✅ - Email - Email must not be empty
✅ - Email - Email must not be a username
✅ - GivenName - pass an empty value and return an error
✅ - GivenName - pass a valid value and successfully create value object
✅ - FamilyName - pass an empty value and return an error
✅ - FamilyName - pass a valid value and successfully create value object
✅ - Password - pass an empty value and return an error
✅ - Password - pass a valid value and successfully create value object
✅ - PasswordHash - pass an empty value and return an error
✅ - PasswordHash - pass an invalid password strength value and return an error
✅ - PasswordHash - pass a valid password strength value and create value object
✅ - UserIri - pass an empty value and return an error
✅ - UserIri - make new should create a valid user iri
✅ - UserIri - built in users should be builtIn
✅ - UserIri - regular user iris should not be builtIn
✅ - UserIri - valid iris should be a valid iri
✅ - Username - Username must not end with a dot
✅ - UserIri - pass an invalid value and return an error
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec.xml
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec | 2✅ | 2s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.GroupServiceSpec.xml
2 tests were completed in 371ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.service.GroupServiceSpec | 2✅ | 371ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.PasswordServiceSpec.xml
7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.service.PasswordServiceSpec | 7✅ | 5s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ProjectServiceSpec.xml
2 tests were completed in 686ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.service.ProjectServiceSpec | 2✅ | 686ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec.xml
2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec | 2✅ | 1s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.AdministrativePermissionRepoLiveSpec.xml
4 tests were completed in 261ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.AdministrativePermissionRepoLiveSpec | 4✅ | 261ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.CachingEntityRepoSpec.xml
6 tests were completed in 498ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.CachingEntityRepoSpec | 6✅ | 498ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.DefaultObjectAccessPermissionRepoLiveSpec.xml
3 tests were completed in 510ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.DefaultObjectAccessPermissionRepoLiveSpec | 3✅ | 510ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.KnoraGroupRepoLiveSpec.xml
6 tests were completed in 14s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.KnoraGroupRepoLiveSpec | 6✅ | 14s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.KnoraProjectRepoLiveSpec.xml
13 tests were completed in 20s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.KnoraProjectRepoLiveSpec | 13✅ | 20s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.repo.service.KnoraUserRepoLiveSpec.xml
25 tests were completed in 6s with 25 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.admin.repo.service.KnoraUserRepoLiveSpec | 25✅ | 6s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.rdf.RdfModelSpec.xml
90 tests were completed in 43s with 90 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.common.repo.rdf.RdfModelSpec | 90✅ | 43s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec.xml
6 tests were completed in 511ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec | 6✅ | 511ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.infrastructure.JwtServiceLiveSpec.xml
8 tests were completed in 15s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.infrastructure.JwtServiceLiveSpec | 8✅ | 15s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.infrastructure.ScopeSpec.xml
16 tests were completed in 3s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.infrastructure.ScopeSpec | 16✅ | 3s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec.xml
5 tests were completed in 870ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec | 5✅ | 870ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec.xml
20 tests were completed in 68s with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec | 20✅ | 68s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.model.CardinalitySpec.xml
24 tests were completed in 4s with 24 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.domain.model.CardinalitySpec | 24✅ | 4s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec.xml
3 tests were completed in 866ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec | 3✅ | 866ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec.xml
2 tests were completed in 38ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec | 2✅ | 38ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec.xml
10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec | 10✅ | 2s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec.xml
7 tests were completed in 308ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec | 7✅ | 308ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec.xml
6 tests were completed in 826ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec | 6✅ | 826ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resources.IiifImageRequestUrlSpec.xml
2 tests were completed in 692ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.resources.IiifImageRequestUrlSpec | 2✅ | 692ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resources.repo.service.ResourcesRepoLiveSpec.xml
3 tests were completed in 258ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.slice.resources.repo.service.ResourcesRepoLiveSpec | 3✅ | 258ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec.xml
13 tests were completed in 11s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec | 13✅ | 11s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.upgrade.GraphsForMigrationSpec.xml
5 tests were completed in 415ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.store.triplestore.upgrade.GraphsForMigrationSpec | 5✅ | 415ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3110Spec.xml
1 tests were completed in 67ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3110Spec | 1✅ | 67ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3111Spec.xml
1 tests were completed in 9ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3111Spec | 1✅ | 9ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3112Spec.xml
1 tests were completed in 140ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.store.triplestore.upgrade.plugins.UpgradePluginPR3112Spec | 1✅ | 140ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.ApacheLuceneSupportZSpec.xml
13 tests were completed in 6s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.util.ApacheLuceneSupportZSpec | 13✅ | 6s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.Base64UrlCheckDigitZSpec.xml
6 tests were completed in 498ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.util.Base64UrlCheckDigitZSpec | 6✅ | 498ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.search.gravsearch.GravsearchParserSpec.xml
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.util.search.gravsearch.GravsearchParserSpec | 22✅ | 2s |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.ZioHelperSpec.xml
6 tests were completed in 272ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.util.ZioHelperSpec | 6✅ | 272ms |
✅ ./webapi/target/test-reports/TEST-org.knora.webapi.ValuesValidatorSpec.xml
43 tests were completed in 6s with 43 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.knora.webapi.ValuesValidatorSpec | 43✅ | 6s |
Annotations
github-actions / WebApi Unit Test Results
org.knora.webapi.slice.admin.domain.model.UserSpec ► - Username - Username has to be at least 4 characters long
Failed test found in:
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UserSpec.xml
Error:
sbt.ForkMain$ForkError: java.lang.Exception: [31m- Username has to be at least 4 characters long[0m
Raw output
sbt.ForkMain$ForkError: java.lang.Exception: [31m- Username has to be at least 4 characters long[0m
[31m✗ [0m[1m[34mRight([2mvalue =[0m Username([2mvalue =[0m "abc"))[0m[0m [31mwas not equal to[0m [1m[34mLeft([2mvalue =[0m "Username is invalid.")[0m[0m
[1mUsername.from("abc") == [0m[1m[33mLeft("Username is invalid.")[0m[0m[1m[0m
[2m.from("abc") = [0mRight([2mvalue =[0m Username([2mvalue =[0m "abc"))
[2mUsername = [0morg.knora.webapi.slice.admin.domain.model.Username$@11719014
[36mat /home/runner/work/dsp-api/dsp-api/webapi/src/test/scala/org/knora/webapi/slice/admin/domain/model/UserSpec.scala:25 [0m
at zio.test.sbt.ZTestEvent$.convertEvent(ZTestEvent.scala:34)
at zio.test.sbt.ZTestEventHandlerSbt.handle(ZTestEventHandlerSbt.scala:26)
at zio.test.TestExecutor$$anon$1.processEvent$1$$anonfun$1(TestExecutor.scala:48)
at zio.ZIO.$times$greater$$anonfun$1(ZIO.scala:89)
at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1032)
at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1025)
at zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:403)
at zio.internal.FiberRuntime.evaluateMessageWhileSuspended(FiberRuntime.scala:477)
at zio.internal.FiberRuntime.drainQueueOnCurrentThread(FiberRuntime.scala:249)
at zio.internal.FiberRuntime.run(FiberRuntime.scala:143)
at zio.internal.ZScheduler$$anon$3.run(ZScheduler.scala:437)