forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax testing constraints on certain dates tests
These tests are not taking timezones properly into account, but they also don't really need to fully test the date handling, so we relax them a bit. Closes: quarkusio#28035
- Loading branch information
Showing
3 changed files
with
6 additions
and
15 deletions.
There are no files selected for viewing
7 changes: 1 addition & 6 deletions
7
...rest-data-panache/src/main/java/io/quarkus/it/hibernate/orm/rest/data/panache/Author.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
package io.quarkus.it.hibernate.orm.rest.data.panache; | ||
|
||
import java.time.LocalDate; | ||
|
||
import javax.persistence.Entity; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
import io.quarkus.hibernate.orm.panache.PanacheEntity; | ||
|
||
@Entity | ||
public class Author extends PanacheEntity { | ||
|
||
public String name; | ||
|
||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") | ||
public LocalDate dob; | ||
public String dob; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters