Skip to content

Commit 2b1111c

Browse files
JanJakesbgrgicak
andauthored
Unify casing of CURRENT_TIMESTAMP in tests
Co-authored-by: Bero <[email protected]>
1 parent 4043e6d commit 2b1111c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/WP_SQLite_Translator_Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,7 @@ public function testCurrentTimestamp() {
28762876

28772877
// INSERT
28782878
$this->assertQuery(
2879-
"INSERT INTO _dates (option_name, option_value) VALUES ('first', current_timestamp())"
2879+
"INSERT INTO _dates (option_name, option_value) VALUES ('first', CURRENT_TIMESTAMP())"
28802880
);
28812881
$results = $this->assertQuery( 'SELECT option_value AS t FROM _dates' );
28822882
$this->assertCount( 1, $results );

0 commit comments

Comments
 (0)