From 5421e8e55888eae35452b6f00312ebef1a179f63 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 1 May 2024 21:13:24 +0200 Subject: [PATCH] fix unit test --- tst/ControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/ControllerTest.php b/tst/ControllerTest.php index 17fb9d0e..b1a5774f 100644 --- a/tst/ControllerTest.php +++ b/tst/ControllerTest.php @@ -713,7 +713,7 @@ class ControllerTest extends TestCase $this->assertEquals($paste['adata'][1], $response['adata'][1], 'outputs formatter correctly'); $this->assertEquals($paste['adata'][2], $response['adata'][2], 'outputs opendiscussion correctly'); $this->assertEquals($paste['adata'][3], $response['adata'][3], 'outputs burnafterreading correctly'); - $this->assertFalse(array_key_exists('created', $paste['meta']), 'does not output created'); + $this->assertFalse(array_key_exists('created', $response['meta']), 'does not output created'); $this->assertEquals(0, $response['comment_count'], 'outputs comment_count correctly'); $this->assertEquals(0, $response['comment_offset'], 'outputs comment_offset correctly'); // by default it will be deleted instantly after it is read