Skip to content

Commit

Permalink
fixed failing tests findByGlob
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed May 17, 2024
1 parent 778844f commit 917ddc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions it/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<logger name="com.zaxxer.hikari.pool" level="WARN" />
<!-- Hibernate after 6 DEBUG -->
<logger name="org.hibernate.SQL" level="INFO" />
<!-- <logger name="org.hibernate.orm.jdbc.bind" level="trace" /> -->
<logger name="org.hibernate.SQL" level="DEBUG" />
<!-- <logger name="org.hibernate.orm.jdbc.bind" level="trace" />-->
<!-- <logger name="org.hibernate.stat" level="debug" /> -->
<logger name="org.hibernate.SQL_SLOW" level="INFO" />
<!-- <logger name="org.hibernate.cache" level="debug" /> -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ trait ConceptServiceSuite extends DatabaseFunSuite:
val glob = "XXXX"

// Insert our search token into a few names
val root = TestEntityFactory.buildRoot(4, 2)
val root = TestEntityFactory.buildRoot(4, 0)
val renamed = root.getChildConcepts.asScala ++ root.getChildConcepts.iterator().next().getChildConcepts.asScala
renamed.foreach(c =>
val primary = c.getPrimaryConceptName
val name = primary.getName
val newName = name.substring(0, 5) + glob + name.substring(5 + glob.length)
primary.setName(name)
primary.setName(newName)
)

for
Expand Down

0 comments on commit 917ddc6

Please sign in to comment.