Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-01-30 17:42:18 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
52078e05955a559695f473794ac3614117d8598c
52078e05
1 parent
75add675
Clarification @Displayname
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/test/java/org/legrog/web/publisher/PublisherVersionViewTest.java
src/test/java/org/legrog/web/publisher/PublisherVersionViewTest.java
View file @
52078e0
...
...
@@ -201,7 +201,6 @@ public class PublisherVersionViewTest {
public
boolean
updateCalled
=
false
;
@BeforeEach
@DisplayName
(
"Given some test reimplementation"
)
public
void
given
()
{
publisherVersionViewForSave
=
new
PublisherVersionView
()
{
...
...
@@ -219,7 +218,7 @@ public class PublisherVersionViewTest {
}
@Test
@DisplayName
(
"
Test should call add on new publisher
"
)
@DisplayName
(
"
when view is for a new publisher, should delegate to add() method
"
)
public
void
testSaveAdd
()
{
publisherVersionViewForSave
.
setNewPublisher
(
true
);
publisherVersionViewForSave
.
save
();
...
...
@@ -227,7 +226,7 @@ public class PublisherVersionViewTest {
}
@Test
@DisplayName
(
"
Test should call update on old publisher
"
)
@DisplayName
(
"
when view is not for a new publisher, should delegate to update() method
"
)
public
void
testSaveUpdate
()
{
publisherVersionViewForSave
.
setNewPublisher
(
false
);
publisherVersionViewForSave
.
save
();
...
...
Please
register
or
login
to post a comment