File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/test/java/org/soujava/demos/mongodb/document Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
package org .soujava .demos .mongodb .document ;
2
2
3
- import io . smallrye . config . Converters ;
3
+ import jakarta . inject . Inject ;
4
4
import org .eclipse .jnosql .databases .mongodb .mapping .MongoDBTemplate ;
5
5
import org .eclipse .jnosql .mapping .Database ;
6
+ import org .eclipse .jnosql .mapping .core .Converters ;
6
7
import org .eclipse .jnosql .mapping .document .DocumentTemplate ;
7
8
import org .eclipse .jnosql .mapping .document .spi .DocumentExtension ;
9
+ import org .eclipse .jnosql .mapping .reflection .Reflections ;
8
10
import org .eclipse .jnosql .mapping .reflection .spi .ReflectionEntityMetadataExtension ;
9
11
import org .eclipse .jnosql .mapping .semistructured .EntityConverter ;
10
12
import org .jboss .weld .junit5 .auto .AddExtensions ;
11
13
import org .jboss .weld .junit5 .auto .AddPackages ;
12
14
import org .jboss .weld .junit5 .auto .EnableAutoWeld ;
13
- import org .jboss .weld .util .reflection .Reflections ;
14
15
import org .junit .jupiter .api .Test ;
15
16
16
17
import static org .junit .jupiter .api .Assertions .*;
25
26
@ AddExtensions ({ReflectionEntityMetadataExtension .class , DocumentExtension .class })
26
27
class AppTest {
27
28
29
+ @ Inject
28
30
private DocumentTemplate template ;
29
31
30
32
@ Test
You can’t perform that action at this time.
0 commit comments