Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrajodas committed Aug 22, 2023
1 parent b95a360 commit 249d37c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/functional/DatadirTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected function replaceTimestampValues(string $actual): void
$data = (string) preg_replace('~0x[0-9A-F]{16}~', '0x<<RANDOM>>', $data);
$data = preg_replace(
'~[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}~',
'0x<<RANDOM>>',
'RANDOM_TIMESTAMP',
$data
);
file_put_contents($stateJsonPath, $data);
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedTime":"0x<<RANDOM>>"}
{"lastFetchedTime":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedTime":"0x<<RANDOM>>"}
{"lastFetchedTime":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:27.123"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:27.123"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:27.1230000"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:27.1230000"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:14.490"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lastFetchedRow":"2021-01-05 13:43:14.490"}
{"lastFetchedRow":"RANDOM_TIMESTAMP"}

0 comments on commit 249d37c

Please sign in to comment.