Reenable disabled scalar lists test
@@ -112,10 +112,14 @@ fn db_names_work() {
}
#[test]
-#[ignore]
fn scalar_lists_work() {
let datamodel = convert(
r#"
+ datasource pg {
+ provider = "postgres"
+ url = "postgres://localhost/postgres"
+ }
+
model Test {
id String @id @default(cuid())
intList Int[]
@@ -126,10 +130,7 @@ fn scalar_lists_work() {
model
.assert_scalar_field("intList")
.assert_type_identifier(TypeIdentifier::Int)
- .assert_list()
- .assert_behaviour(FieldBehaviour::ScalarList {
- strategy: ScalarListStrategy::Relation,
- });
+ .assert_list();
}
#[test]
