File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
inject-test/src/main/java/io/avaje/inject/test Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ public abstract class TestBeanScope {
38
38
* @return A new test BeanScope with the global "test scope" as its parent.
39
39
*/
40
40
public static BeanScopeBuilder builder () {
41
- BeanScope baseTestScope = init (true );
42
- return BeanScope .builder ().parent (baseTestScope , false );
41
+ return BeanScope .builder ().parent (initialise (), false );
43
42
}
44
43
45
44
/**
@@ -60,7 +59,7 @@ public static BeanScopeBuilder builder() {
60
59
*/
61
60
@ Nullable
62
61
public static BeanScope initialise () {
63
- return init (true );
62
+ return TSBuild . initialise (true ). baseScope ( );
64
63
}
65
64
66
65
/**
@@ -77,9 +76,4 @@ public static BeanScope create(boolean shutdownHook) {
77
76
return TSBuild .createTestBaseScope (shutdownHook );
78
77
}
79
78
80
- @ Nullable
81
- static BeanScope init (boolean shutdownHook ) {
82
- return TSBuild .initialise (shutdownHook ).baseScope ();
83
- }
84
-
85
79
}
You can’t perform that action at this time.
0 commit comments