N001-Test new issue - Add new test

This commit is contained in:
bruno 2023-10-15 11:57:08 -04:00
parent cd729830dc
commit cba4408597

View file

@ -1,17 +1,17 @@
package org.springframework.samples.petclinic; package org.springframework.samples.petclinic;
import org.junit.Test; import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import static org.junit.Assert.assertTrue; import static org.assertj.core.api.Assertions.assertThat;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class TestNoord { public class TestNoord {
@Test @Test
public void simpleTest() { public void simpleTestTrue() {
assertTrue(true); assertThat(true).isTrue();
}
@Test
public void simpleTestFalse() {
assertThat(false).isFalse();
} }
} }