vaadin / quarkus

An extension to Quarkus to support Vaadin Flow
Apache License 2.0
28 stars 3 forks source link

test: override ContextualStorageManager in UiContextTest #132

Closed mcollovati closed 1 year ago

mcollovati commented 1 year ago

Description

Since latest changes in Quarkus, scope annotated beans are discovered even if the scope is not registered. This change marks the ContextualStorageManager used in UiContextTest as an alternative to the VaadinSessionScoped ContextualStorageManager bean defined in UIScopedContext, preventing AmbiguousResolutionException in tests.

Fixes #131

Type of change

Checklist

Additional for Feature type of change

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information