Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-git committed Sep 24, 2024
1 parent 6a9f511 commit b9c6dec
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mnt/src/test/java/com/ak/micronaut/MntTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.ak.micronaut;

import io.micronaut.runtime.EmbeddedApplication;
import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
import jakarta.inject.Inject;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

@MicronautTest
class MntTest {
@Inject
EmbeddedApplication<?> application;

@Test
void testItWorks() {
Assertions.assertTrue(application.isRunning());
}
}
4 changes: 4 additions & 0 deletions mnt/src/test/java/com/ak/micronaut/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@NullMarked
package com.ak.micronaut;

import org.jspecify.annotations.NullMarked;

0 comments on commit b9c6dec

Please sign in to comment.