Skip to content

Commit

Permalink
[MODORDERS-1209-2]. Add missing PieceUtilTestNested
Browse files Browse the repository at this point in the history
  • Loading branch information
BKadirkhodjaev committed Dec 19, 2024
1 parent 1df97c2 commit 037711d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/test/java/org/folio/ApiTestSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
import org.folio.service.pieces.PieceServiceTest;
import org.folio.service.pieces.PieceStorageServiceTest;
import org.folio.service.pieces.PieceUpdateInventoryServiceTest;
import org.folio.service.pieces.PieceUtilTest;
import org.folio.service.pieces.PiecesClaimingServiceTest;
import org.folio.service.pieces.flows.BasePieceFlowHolderBuilderTest;
import org.folio.service.pieces.flows.DefaultPieceFlowsValidatorTest;
Expand Down Expand Up @@ -555,4 +556,8 @@ class PiecesClaimingApiTestNested extends PiecesClaimingApiTest {
@Nested
class PiecesClaimingServiceNested extends PiecesClaimingServiceTest {
}

@Nested
class PieceUtilTestNested extends PieceUtilTest {
}
}
2 changes: 1 addition & 1 deletion src/test/java/org/folio/CopilotGenerated.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Set <code>value</code> or <code>partiallyGenerated</code> attribute to <code>true</code>
* if the generated test(s) were significantly modified/altered by the developer.
*/
@Target(ElementType.TYPE)
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.SOURCE)
public @interface CopilotGenerated {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/folio/service/pieces/PieceUtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static org.junit.jupiter.api.Assertions.*;

@CopilotGenerated(partiallyGenerated = true)
class PieceUtilTest {
public class PieceUtilTest {

@Test
void testUpdatePieceStatusWithOldAndNewStatus() {
Expand Down

0 comments on commit 037711d

Please sign in to comment.