From 9274dfc3d09e22810c54ce6315dc35b7c04c4dce Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Thu, 2 May 2024 14:15:23 +0400 Subject: [PATCH] #247 -- Fix test --- Jenkinsfile | 5 ----- src/main/resources/templates/conferences/conference.html | 2 +- src/main/resources/templates/conferences/conferences.html | 2 +- src/main/resources/templates/conferences/dashboard.html | 2 +- src/main/resources/templates/papers/paper.html | 2 +- src/main/resources/templates/papers/papers.html | 2 +- src/test/java/ru/ulstu/test/StreamApiUtilsTest.java | 8 -------- 7 files changed, 5 insertions(+), 18 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7b26dbf..fd2765f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,6 @@ pipeline { agent any stages { - stage('Build') { - steps { - sh "./gradlew build" - } - } stage('Test') { steps { sh "./gradlew clean test --info" diff --git a/src/main/resources/templates/conferences/conference.html b/src/main/resources/templates/conferences/conference.html index 38c0609..5bc8a1e 100644 --- a/src/main/resources/templates/conferences/conference.html +++ b/src/main/resources/templates/conferences/conference.html @@ -11,7 +11,7 @@
-

Редактирование конференции

+
Редактирование конференции
diff --git a/src/main/resources/templates/conferences/conferences.html b/src/main/resources/templates/conferences/conferences.html index 3204bf0..bd49942 100644 --- a/src/main/resources/templates/conferences/conferences.html +++ b/src/main/resources/templates/conferences/conferences.html @@ -15,7 +15,7 @@
-

Конференции

+
Конференции
diff --git a/src/main/resources/templates/conferences/dashboard.html b/src/main/resources/templates/conferences/dashboard.html index 5e3e97f..59ad223 100644 --- a/src/main/resources/templates/conferences/dashboard.html +++ b/src/main/resources/templates/conferences/dashboard.html @@ -12,7 +12,7 @@
-

Актуальные конференции

+
Актуальные конференции
diff --git a/src/main/resources/templates/papers/paper.html b/src/main/resources/templates/papers/paper.html index 788062d..121f681 100644 --- a/src/main/resources/templates/papers/paper.html +++ b/src/main/resources/templates/papers/paper.html @@ -17,7 +17,7 @@
-

Редактирование статьи

+
Редактирование статьи
diff --git a/src/main/resources/templates/papers/papers.html b/src/main/resources/templates/papers/papers.html index cbb7f1a..24f7d70 100644 --- a/src/main/resources/templates/papers/papers.html +++ b/src/main/resources/templates/papers/papers.html @@ -14,7 +14,7 @@
-

Статьи

+
Статьи
diff --git a/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java b/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java index cb08287..a5ed5ef 100644 --- a/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java +++ b/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java @@ -16,12 +16,4 @@ public class StreamApiUtilsTest { assertEquals(integersInitial, integers); } - - @Test - public void filedTestMappingByDay() { - List integersInitial = List.of(1); - List integers = StreamApiUtils.convert(List.of("1", "2"), Integer::valueOf); - - assertEquals(integersInitial, integers); - } }