mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Jenkins & SQ Test Commit
This commit is contained in:
parent
760d3c909a
commit
3aafd4ecf8
2 changed files with 19 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue