#247 -- Fix test
This commit is contained in:
parent
41b5d42330
commit
9274dfc3d0
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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"
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user