mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 08:58:26 +00:00
fix: fix templateview mockito tests
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-inline</artifactId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -31,7 +31,6 @@ import static org.mockito.Mockito.*;
|
||||
class ContactPageViewTest {
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
void testRenderDynamicContent() {
|
||||
// Create a spy for ContactPageView
|
||||
ContactPageView contactPage = spy(ContactPageView.class);
|
||||
|
||||
@@ -31,7 +31,6 @@ import static org.mockito.Mockito.*;
|
||||
class HomePageViewTest {
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
void testRenderDynamicContent() {
|
||||
// Create a spy for HomePageView
|
||||
HomePageView homePage = spy(HomePageView.class);
|
||||
|
||||
@@ -31,7 +31,6 @@ import static org.mockito.Mockito.*;
|
||||
class TemplateViewTest {
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
void testRenderHomePage() {
|
||||
// Create a spy for HomePageView
|
||||
TemplateView homePage = spy(HomePageView.class);
|
||||
@@ -46,7 +45,6 @@ class TemplateViewTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
void testRenderContactPage() {
|
||||
// Create a spy for ContactPageView
|
||||
TemplateView contactPage = spy(ContactPageView.class);
|
||||
|
||||
Reference in New Issue
Block a user