This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-45: Add
@Import(ScriptVarGenConfig.class)
Fixes GH-45 (spring-attic/app-starters-release#45) Since we have `RouterSinkTests` in the same package as an original `RouterSinkConfiguration` and uses `@ComponentScan` from the `@SpringBootApplication`, we pick up unimported `ScriptVariableGeneratorConfiguration` as well for test environment. In the real world `@SpringBootApplication` might be on a different package therefore unimported `ScriptVariableGeneratorConfiguration` isn't scanned. * Add `@Import(ScriptVariableGeneratorConfiguration.class)` to the `RouterSinkConfiguration` * Modify `RouterSinkTests` do not scan packages * Resolve deprecations according Spring Boot upgrade
- Loading branch information
1 parent
03ef7e5
commit 23ee585
Showing
3 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters