#247 -- Fix test

This commit is contained in:
Anton Romanov 2024-05-02 14:15:23 +04:00
parent 41b5d42330
commit 9274dfc3d0
7 changed files with 5 additions and 18 deletions

5
Jenkinsfile vendored
View File

@ -1,11 +1,6 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Build') {
steps {
sh "./gradlew build"
}
}
stage('Test') { stage('Test') {
steps { steps {
sh "./gradlew clean test --info" sh "./gradlew clean test --info"

View File

@ -11,7 +11,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<h3 class="section-heading text-uppercase text-center">Редактирование конференции</h3> <h5 class="section-heading text-uppercase text-center">Редактирование конференции</h5>
<div th:replace="conferences/fragments/confNavigationFragment"/> <div th:replace="conferences/fragments/confNavigationFragment"/>
</div> </div>
</div> </div>

View File

@ -15,7 +15,7 @@
<div class="container"> <div class="container">
<div class="row" id="conference-list"> <div class="row" id="conference-list">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<h3 class="section-heading text-uppercase">Конференции</h3> <h5 class="section-heading text-uppercase">Конференции</h5>
<div th:replace="conferences/fragments/confNavigationFragment"/> <div th:replace="conferences/fragments/confNavigationFragment"/>
</div> </div>
</div> </div>

View File

@ -12,7 +12,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<h3 class="section-heading text-uppercase text-center">Актуальные конференции</h3> <h5 class="section-heading text-uppercase text-center">Актуальные конференции</h5>
<div th:replace="conferences/fragments/confNavigationFragment"/> <div th:replace="conferences/fragments/confNavigationFragment"/>
</div> </div>
</div> </div>

View File

@ -17,7 +17,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Редактирование статьи</h2> <h5 class="section-heading text-uppercase">Редактирование статьи</h5>
<div th:replace="~{papers/fragments/paperNavigationFragment}"/> <div th:replace="~{papers/fragments/paperNavigationFragment}"/>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
<div class="container"> <div class="container">
<div class="row mb-3" id="paper-list"> <div class="row mb-3" id="paper-list">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<h3 class="section-heading text-uppercase">Статьи</h3> <h5 class="section-heading text-uppercase">Статьи</h5>
<div th:replace="~{papers/fragments/paperNavigationFragment}"/> <div th:replace="~{papers/fragments/paperNavigationFragment}"/>
</div> </div>
</div> </div>

View File

@ -16,12 +16,4 @@ public class StreamApiUtilsTest {
assertEquals(integersInitial, integers); assertEquals(integersInitial, integers);
} }
@Test
public void filedTestMappingByDay() {
List<Integer> integersInitial = List.of(1);
List<Integer> integers = StreamApiUtils.convert(List.of("1", "2"), Integer::valueOf);
assertEquals(integersInitial, integers);
}
} }