Skip to content

Commit

Permalink
[TASK] Switch default DB back
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Jul 7, 2024
1 parent e1a8c26 commit 38f72fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ ROOT_DIR="${PWD}"
# Option defaults
TEST_SUITE=""
TYPO3_VERSION="12"
DBMS="sqlite"
DBMS="mysql"
DBMS_VERSION=""
PHP_VERSION="8.1"
PHP_XDEBUG_ON=0
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Repository/AddressRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function rawQueryReturnsCorrectQuery()
$result = $this->addressRepository->getSqlQuery($demand);
$time = $GLOBALS['SIM_ACCESS_TIME'];

$sql = 'SELECT "tt_address".* FROM "tt_address" "tt_address" WHERE ((((("tt_address"."pid" IN (1, 2)) AND ( NOT((("tt_address"."latitude" IS NULL) OR ("tt_address"."latitude" = 0)))))) AND ( NOT((("tt_address"."longitude" IS NULL) OR ("tt_address"."longitude" = 0)))))) AND ("tt_address"."sys_language_uid" IN (0, -1)) AND ("tt_address"."t3ver_oid" = 0) AND ((("tt_address"."hidden" = 0) AND ("tt_address"."starttime" <= ' . $time . ') AND ((("tt_address"."endtime" = 0) OR ("tt_address"."endtime" > ' . $time . ')))) AND tt_address.deleted=0)';
$sql = 'SELECT `tt_address`.* FROM `tt_address` `tt_address` WHERE (((((`tt_address`.`pid` IN (1, 2)) AND ( NOT(((`tt_address`.`latitude` IS NULL) OR (`tt_address`.`latitude` = 0)))))) AND ( NOT(((`tt_address`.`longitude` IS NULL) OR (`tt_address`.`longitude` = 0)))))) AND (`tt_address`.`sys_language_uid` IN (0, -1)) AND (`tt_address`.`t3ver_oid` = 0) AND (((`tt_address`.`hidden` = 0) AND (`tt_address`.`starttime` <= ' . $time . ') AND (((`tt_address`.`endtime` = 0) OR (`tt_address`.`endtime` > ' . $time . ')))) AND tt_address.deleted=0)';
self::assertEquals($sql, $result);
}

Expand Down

0 comments on commit 38f72fc

Please sign in to comment.