aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-06 23:18:38 +0300
committermrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-06 23:18:38 +0300
commit8c0cb8a38df9ec1ad83da0113a94b7a576a3eb99 (patch)
tree07a4244884a8edfe8431069487e80ac4dde2b979
parent93b3beeb4259d3dd6f7c361787d431115eb377bd (diff)
chore: remove unnecessary code
-rw-r--r--src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/PartnersControllerTest.java11
-rw-r--r--src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/ProductsControllerTest.java12
2 files changed, 0 insertions, 23 deletions
diff --git a/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/PartnersControllerTest.java b/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/PartnersControllerTest.java
index c85134a..ac5df35 100644
--- a/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/PartnersControllerTest.java
+++ b/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/PartnersControllerTest.java
@@ -11,17 +11,6 @@ import java.util.concurrent.TimeUnit;
import static org.junit.jupiter.api.Assertions.*;
public class PartnersControllerTest {
- private final String srcURL = "http://localhost:8080/";
- private final String title = "Система складского учета";
-
- @Test
- void PartnersPageTest() {
- ChromeDriver driver = new ChromeDriver();
- driver.get(srcURL);
- assertEquals(title, driver.getTitle());
- driver.quit();
- }
-
@Test
void CreateNewPartner() {
ChromeDriver driver = new ChromeDriver();
diff --git a/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/ProductsControllerTest.java b/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/ProductsControllerTest.java
index 66a8485..7148d4a 100644
--- a/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/ProductsControllerTest.java
+++ b/src/test/java/ru/mrfoxygmfr/warehouse_accounting/http/ProductsControllerTest.java
@@ -3,7 +3,6 @@ package ru.mrfoxygmfr.warehouse_accounting.http;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.ChromeDriver;
-import org.openqa.selenium.support.ui.Select;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -11,17 +10,6 @@ import java.util.concurrent.TimeUnit;
import static org.junit.jupiter.api.Assertions.*;
public class ProductsControllerTest {
- private final String srcURL = "http://localhost:8080/";
- private final String title = "Система складского учета";
-
- @Test
- void ProductsPageTest() {
- ChromeDriver driver = new ChromeDriver();
- driver.get(srcURL);
- assertEquals(title, driver.getTitle());
- driver.quit();
- }
-
@Test
void CreateNewProduct() {
ChromeDriver driver = new ChromeDriver();