diff options
author | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2021-04-15 19:04:15 +0200 |
---|---|---|
committer | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2021-04-15 19:04:15 +0200 |
commit | d4af42336c745bb743560370bbbfc39c350ad51c (patch) | |
tree | 160214bb992a2b5287996606f6a7daba681527f0 /tests/stubs/wpdb_stub.php | |
parent | 02caa8be1541d11a65dc00cdea08d1b0bc932ba5 (diff) | |
parent | f8f01743b8b5256dda9e199f5d8e77ddb9eea278 (diff) | |
download | gigologadmin-d4af42336c745bb743560370bbbfc39c350ad51c.tar.gz gigologadmin-d4af42336c745bb743560370bbbfc39c350ad51c.tar.bz2 gigologadmin-d4af42336c745bb743560370bbbfc39c350ad51c.zip |
Merge branch 'dev' of https://code.volse.net/wordpress/plugins/gigologadmin.git into andreaschanges
Diffstat (limited to 'tests/stubs/wpdb_stub.php')
-rw-r--r-- | tests/stubs/wpdb_stub.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/stubs/wpdb_stub.php b/tests/stubs/wpdb_stub.php deleted file mode 100644 index 957c994..0000000 --- a/tests/stubs/wpdb_stub.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php -// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com> -// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net> -// -// SPDX-License-Identifier: AGPL-3.0-or-later - -class wpdb { - public $insert_id = NULL; - public function insert(string $table, array $data) { $this->insert_id = 1; } - public function prepare(string $query, mixed $args) { return "prepared"; } - public function get_results(string $query) { return NULL; } -} - -$wpdb = new wpdb(); |