Skip to content

Commit

Permalink
fix: junit test in ci (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiveHao authored Aug 9, 2024
1 parent 9a5a625 commit 74bc759
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private static Subject createSubjectInstance() {
var episodes = new ArrayList<Episode>();
episodes.add(Episode.builder()
.airTime(LocalDateTime.now())
.sequence(1)
.sequence(1F)
.group(EpisodeGroup.MAIN)
.name("ep-01")
.nameCn("第一集").build());
Expand Down Expand Up @@ -179,7 +179,7 @@ void update() {
subject.setName(newName);
Episode addEpisode = Episode.builder()
.airTime(LocalDateTime.now())
.sequence(10)
.sequence(10F)
.group(EpisodeGroup.MAIN)
.name("ep-02")
.nameCn("第二集").build();
Expand Down Expand Up @@ -232,7 +232,7 @@ void updateLarge() {
for (int i = 0; i < epCount; i++) {
Episode episode = Episode.builder()
.airTime(LocalDateTime.now())
.sequence(i)
.sequence(Float.parseFloat(String.valueOf(i)))
.group(EpisodeGroup.MAIN)
.name("ep-" + i)
.nameCn("第二集").build();
Expand Down

0 comments on commit 74bc759

Please sign in to comment.