Skip to content

add more tests and restructure test for project repo

Codacy Production / Codacy Static Code Analysis required action Feb 15, 2024 in 0s

1 new issue (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- webapi/src/test/scala/org/knora/webapi/slice/admin/repo/service/KnoraProjectRepoLiveSpec.scala  9
         

Clones added
============
- webapi/src/main/scala/dsp/valueobjects/LanguageCode.scala  1
         

See the complete overview on Codacy

Annotations

Check warning on line 71 in webapi/src/test/scala/org/knora/webapi/slice/admin/repo/service/KnoraProjectRepoLiveSpec.scala

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

webapi/src/test/scala/org/knora/webapi/slice/admin/repo/service/KnoraProjectRepoLiveSpec.scala#L71

Method is longer than 50 lines.