Skip to content

Commit

Permalink
fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.0 (
Browse files Browse the repository at this point in the history
#2930)

* fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.0

* try fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Graeme Rocher <[email protected]>
  • Loading branch information
renovate[bot] and graemerocher authored May 30, 2024
1 parent 2d94307 commit 8e6c768
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ package io.micronaut.data.runtime.convert

import io.micronaut.context.BeanContext
import io.micronaut.context.DefaultBeanContext
import io.micronaut.core.annotation.NonNull
import io.micronaut.core.convert.DefaultMutableConversionService
import io.micronaut.core.convert.MutableConversionService
import io.micronaut.inject.BeanDefinitionReference
import spock.lang.Specification
import spock.lang.Unroll

Expand All @@ -39,7 +41,17 @@ class DataConversionServiceSpec extends Specification {
MutableConversionService getConversionService() {
return new DefaultMutableConversionService()
}
}

@Override
protected List<BeanDefinitionReference> resolveBeanDefinitionReferences() {
return []
}

@Override
void publishEvent(@NonNull Object event) {

}
}.start()
DataConversionService conversionService = new DataConversionServiceFactory().build(mockBeanContext)
when:
def expectedValue = conversionService.convert(obj, targetType)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
micronaut = "4.4.9"
micronaut = "4.5.0"
micronaut-platform = "4.4.2"
micronaut-docs = "2.0.0"
micronaut-gradle-plugin = "4.4.0"
Expand Down

0 comments on commit 8e6c768

Please sign in to comment.