Skip to content

Commit

Permalink
Update tests following union mock fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jun 25, 2024
1 parent b326c1c commit 4021d93
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.Instant.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionInstant(_root_.java.time.Instant.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.org.joda.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.org.joda.time.DateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionDateTime(_root_.org.joda.time.DateTime.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.OffsetDateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionOffsetDateTime(_root_.java.time.OffsetDateTime.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.Instant.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionInstant(_root_.java.time.Instant.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.org.joda.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.org.joda.time.DateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionDateTime(_root_.org.joda.time.DateTime.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.OffsetDateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionOffsetDateTime(_root_.java.time.OffsetDateTime.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.Instant.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionInstant(_root_.java.time.Instant.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.org.joda.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.org.joda.time.DateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionDateTime(_root_.org.joda.time.DateTime.now)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package io.gregor.time.types.v0.mock {
date = _root_.java.time.LocalDate.now
)

def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = _root_.java.time.OffsetDateTime.now
def makeDateTimeUnion(): io.gregor.time.types.v0.models.DateTimeUnion = io.gregor.time.types.v0.models.DateTimeUnionOffsetDateTime(_root_.java.time.OffsetDateTime.now)

}

Expand Down

0 comments on commit 4021d93

Please sign in to comment.