Skip to content

Commit

Permalink
fix(sql-introspection-tests): remove outdated mysql test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Nov 22, 2024
1 parent a2d615e commit 91ea7ee
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions schema-engine/sql-introspection-tests/tests/tables/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,35 +279,6 @@ async fn a_table_with_fulltext_index_with_custom_name(api: &mut TestApi) -> Test
Ok(())
}

#[test_connector(tags(Mysql))]
async fn a_table_with_fulltext_index_without_preview_flag(api: &mut TestApi) -> TestResult {
let setup = indoc! {r#"
CREATE TABLE `A` (
`id` INT PRIMARY KEY,
`a` VARCHAR(255) NOT NULL,
`b` TEXT NOT NULL
);
CREATE FULLTEXT INDEX A_a_b_idx ON `A` (a, b);
"#};

api.raw_cmd(setup).await;

let expected = expect![[r#"
model A {
id Int @id
a String @db.VarChar(255)
b String @db.Text
@@index([a, b])
}
"#]];

expected.assert_eq(&api.introspect_dml().await?);

Ok(())
}

#[test_connector(tags(Mysql), exclude(Mariadb))]
async fn date_time_defaults(api: &mut TestApi) -> TestResult {
let setup = indoc! {r#"
Expand Down

0 comments on commit 91ea7ee

Please sign in to comment.