Test the test
authorMichael <heluecht@pirati.ca>
Sun, 17 Jan 2021 21:39:42 +0000 (21:39 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 17 Jan 2021 21:39:42 +0000 (21:39 +0000)
include/api.php
tests/datasets/config/A.config.php
tests/datasets/config/B.config.php
tests/src/Console/AutomaticInstallationConsoleTest.php

index 17fb57a..9edd797 100644 (file)
@@ -2041,6 +2041,7 @@ function api_statuses_repeat($type)
        Logger::log('API: api_statuses_repeat: '.$id);
 
        $fields = ['uri-id', 'network', 'body', 'title', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink'];
+       $fields = [];
        $item = Post::selectFirst($fields, ['id' => $id, 'private' => [Item::PUBLIC, Item::UNLISTED]]);
  
        if (DBA::isResult($item) && !empty($item['body'])) {
index 57d114d..081f367 100644 (file)
@@ -12,7 +12,7 @@ return [
                'password' => 'testpw',
                'database' => 'testdb',
                'charset' => 'utf8mb4',
-               'pdo_emulate_prepares' => true,
+               'pdo_emulate_prepares' => false,
        ],
 
        'config' => [
index 76bcb6e..1a06975 100644 (file)
@@ -12,7 +12,7 @@ return [
                'password' => 'testpw',
                'database' => 'testdb',
                'charset' => 'utf8mb4',
-               'pdo_emulate_prepares' => true,
+               'pdo_emulate_prepares' => false,
        ],
 
        'config' => [
index f00a9e5..fdf887f 100644 (file)
@@ -447,7 +447,7 @@ return [
                'password' => '{$conf('database', 'password')}',
                'database' => '{$conf('database', 'database')}',
                'charset' => 'utf8mb4',
-               'pdo_emulate_prepares' => true,
+               'pdo_emulate_prepares' => false,
        ],
 
        // ****************************************************************