File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
jenkins-client-it-docker/src/test/java/com/offbytwo/jenkins/integration Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,21 @@ public void getLastUnstableBuildShouldBeBUILD_HAS_NEVER_RAN() {
106
106
assertThat (job .getLastUnstableBuild ()).isEqualTo (Build .BUILD_HAS_NEVER_RUN );
107
107
}
108
108
109
+ @ Test
110
+ public void hasLastUnstableBuildShouldBeFalse () {
111
+ assertThat (job .hasLastUnstableBuildRun ()).isFalse ();
112
+ }
113
+
109
114
@ Test
110
115
public void getLastUnsuccessfulBuildShouldBeBUILD_HAS_NEVER_RAN () {
111
116
assertThat (job .getLastUnsuccessfulBuild ()).isEqualTo (Build .BUILD_HAS_NEVER_RUN );
112
117
}
113
118
119
+ @ Test
120
+ public void hasLastUnsuccessfulBuildShouldBeFalse () {
121
+ assertThat (job .hasLastUnsuccessfulBuildRun ()).isFalse ();
122
+ }
123
+
114
124
@ Test
115
125
public void getDescriptionShouldRetrunTheDescription () {
116
126
assertThat (job .getDescription ()).isEqualTo ("This is the description with umlauts äöü" );
You can’t perform that action at this time.
0 commit comments