Skip to content

Commit

Permalink
Fix SchemaTest
Browse files Browse the repository at this point in the history
  • Loading branch information
szabado-faire committed Apr 2, 2024
1 parent e5cb172 commit 44e92df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class SchemaTest {

assertThatIllegalArgumentException().isThrownBy {
musicDb.music.inlineView(Any::class, BadItem5::class)
}.withMessage("Expect nonexistent_attribute, required by class app.cash.tempest2.internal.BadItem5, to be declared in class app.cash.tempest2.musiclibrary.MusicItem. But found [album_title, artist_name, genre_name, label_name, partition_key, playlist_name, playlist_size, playlist_tracks, playlist_version, release_date, run_length, sort_key, track_title, track_token]. Use @Transient to exclude it. You might see this error message if the property name starts with `is`. See: https://github.com/cashapp/tempest/issues/53.")
}.withMessage("Expect nonexistent_attribute, required by class app.cash.tempest2.internal.BadItem5, to be declared in class app.cash.tempest2.musiclibrary.MusicItem. But found [album_title, artist_name, genre_name, label_name, partition_key, playlist_name, playlist_size, playlist_tracks, playlist_version, release_date, run_length, sort_key, track_description, track_title, track_token]. Use @Transient to exclude it. You might see this error message if the property name starts with `is`. See: https://github.com/cashapp/tempest/issues/53.")

assertThatIllegalArgumentException().isThrownBy {
musicDb.music.inlineView(Any::class, BadItem6::class)
Expand Down

0 comments on commit 44e92df

Please sign in to comment.