opencv/src/test/java/pl/edu/amu/wmi/bookapi/BookapiApplicationTests.java

21 lines
497 B
Java
Raw Normal View History

package pl.edu.amu.wmi.bookapi;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.mongodb.core.MongoTemplate;
import pl.edu.amu.wmi.bookapi.models.UserDocument;
@SpringBootTest
class BookapiApplicationTests {
@Autowired
MongoTemplate mongoTemplate;
@Test
void contextLoads() {
System.out.println(mongoTemplate.findAll(UserDocument.class));
}
}