Jenkins & SQ Test Commit

This commit is contained in:
Artem Dobrynin 2019-08-14 09:48:56 +04:00
parent 760d3c909a
commit 3aafd4ecf8
2 changed files with 19 additions and 1 deletions

View file

@ -133,7 +133,6 @@ public class Owner extends Person {
String compName = pet.getName();
compName = compName.toLowerCase();
if (compName.equals(name)) {
System.out.println("HOORRAY!");
return pet;
}
}

View file

@ -0,0 +1,19 @@
package org.springframework.samples.petclinic;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.web.servlet.MockMvc;
public class AlwaysFailTests {
@Autowired
private MockMvc mockMvc;
@Test
public void failTest() throws Exception{
assertEquals(1, 2);
}
}