aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Module/RpostTest.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/unit/Module/RpostTest.php b/tests/unit/Module/RpostTest.php
index 106f06fde..ad94f2f06 100644
--- a/tests/unit/Module/RpostTest.php
+++ b/tests/unit/Module/RpostTest.php
@@ -67,10 +67,13 @@ class RpostTest extends \Zotlabs\Tests\Unit\Module\TestCase {
// Set basic access controls to keep AccessList happy.
\App::$channel = [
- 'channel_allow_cid' => null,
- 'channel_allow_gid' => null,
- 'channel_deny_cid' => null,
- 'channel_deny_gid' => null,
+ 'channel_id' => 42,
+ 'channel_location' => null,
+ 'channel_address' => '',
+ 'channel_allow_cid' => '',
+ 'channel_allow_gid' => '',
+ 'channel_deny_cid' => '',
+ 'channel_deny_gid' => '',
];
$this->get('rpost', $query);