We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d90140f + 7472b20 commit ac9fdc6Copy full SHA for ac9fdc6
src/test/java/ch/appuio/techlab/controller/PodRestControllerTest.java
@@ -1,6 +1,6 @@
1
package ch.appuio.techlab.controller;
2
3
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.CoreMatchers.startsWith;
4
import static org.hamcrest.MatcherAssert.assertThat;
5
import org.junit.Test;
6
@@ -15,6 +15,6 @@ public void getPodDescription() {
15
String podDescription = controller.pod();
16
17
// then
18
- assertThat(podDescription, is("Pod: null"));
+ assertThat(podDescription, startsWith("Pod: "));
19
}
20
0 commit comments