diff --git a/pom.xml b/pom.xml
index 0ab32b2a..ca7011df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,9 +63,9 @@
23.4
- 21
+ 21
1.18.30
- 3.34.0
+ 3.42.0
diff --git a/src/test/java/ru/investbook/parser/psb/DividendTableTest.java b/src/test/java/ru/investbook/parser/psb/DividendTableTest.java
index 899eacbb..34a56893 100644
--- a/src/test/java/ru/investbook/parser/psb/DividendTableTest.java
+++ b/src/test/java/ru/investbook/parser/psb/DividendTableTest.java
@@ -36,7 +36,7 @@ public class DividendTableTest {
@Mock
SecurityRegistrar securityRegistrar;
- static Object[][] getData() {
+ static Object[][] cashFisinlow() {
return new Object[][] {{"E:\\1.xlsx", "RU000A0JRKT8", "RU000A0JRKT8" }};
}
@@ -45,7 +45,9 @@ static Object[][] getData() {
void testIsin(String report, String firstIsin, String lastIsin) throws IOException {
PsbBrokerReport psbBrokerReport = new PsbBrokerReport(report, securityRegistrar);
List data = new DividendTable(psbBrokerReport).getData();
+ //noinspection AssertBetweenInconvertibleTypes
assertEquals(data.get(0).getSecurity(), firstIsin);
+ //noinspection AssertBetweenInconvertibleTypes
assertEquals(data.get(data.size() - 1).getSecurity(), lastIsin);
}
}
\ No newline at end of file
diff --git a/src/test/java/ru/investbook/parser/psb/PortfolioCashTableTest.java b/src/test/java/ru/investbook/parser/psb/PortfolioCashTableTest.java
index 8aa4a7bf..db67881b 100644
--- a/src/test/java/ru/investbook/parser/psb/PortfolioCashTableTest.java
+++ b/src/test/java/ru/investbook/parser/psb/PortfolioCashTableTest.java
@@ -35,8 +35,7 @@ public class PortfolioCashTableTest {
@Mock
SecurityRegistrar securityRegistrar;
- @DataProvider(name = "cash_in")
- Object[][] getData() {
+ static Object[][] cashIn() {
return new Object[][] {{"E:\\1.xlsx", BigDecimal.valueOf(350.37)}};
}