Skip to content

Commit

Permalink
Get tests working but leave TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Apr 29, 2024
1 parent b97b8d2 commit 6838476
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/WP_SQLite_Translator_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,12 @@ public function testShowCreateTable1() {
'SHOW CREATE TABLE _tmp_table;'
);
$results = $this->engine->get_query_results();
# TODO: Should we fix mismatch with original `option_value` text NOT NULL,` without default?
$this->assertEquals(
"CREATE TABLE _tmp_table (
`ID` bigint PRIMARY KEY AUTO_INCREMENT NOT NULL,
`option_name` varchar(255) DEFAULT '',
`option_value` text NOT NULL,
`option_value` text NOT NULL DEFAULT '',
KEY _tmp_table__composite (option_name, option_value),
UNIQUE KEY _tmp_table__option_name (option_name)
);",
Expand Down

0 comments on commit 6838476

Please sign in to comment.