From 0d9c55d25d7ae2d80c21cb6c67688696f6790422 Mon Sep 17 00:00:00 2001 From: Belisoful Date: Mon, 17 Apr 2023 14:53:00 -0700 Subject: [PATCH] #872 removed deprecated callable unit tests from TWeakCallableCollection --- tests/unit/Collections/TWeakCallableCollectionTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/Collections/TWeakCallableCollectionTest.php b/tests/unit/Collections/TWeakCallableCollectionTest.php index fca876d05..3ccae6369 100644 --- a/tests/unit/Collections/TWeakCallableCollectionTest.php +++ b/tests/unit/Collections/TWeakCallableCollectionTest.php @@ -72,7 +72,6 @@ public function testToPriorityArrayWeakTWeakCallableCollection() $item2 = $list[] = ['CallableListItem', 'staticHandler']; $item3 = $list[] = [$this->item1, 'eventHandler']; $item4 = $list[] = 'CallableListItem::staticHandler'; - $item5 = $list[] = ['CallableListItemChild','parent::staticHandler']; $item6 = $list[] = $this->item2; // Check that callables that have proper syntax but do not exist @@ -118,8 +117,7 @@ public function testToPriorityArrayWeakTWeakCallableCollection() $this->assertEquals($p[$priority][2][0]->get(), $this->item1); $this->assertEquals($p[$priority][2][1], 'eventHandler'); $this->assertEquals($p[$priority][3], 'CallableListItem::staticHandler'); - $this->assertEquals($p[$priority][4], ['CallableListItemChild','parent::staticHandler']); - $this->assertEquals($p[$priority][5]->get(), $this->item2); + $this->assertEquals($p[$priority][4]->get(), $this->item2); }