Skip to content

Commit

Permalink
#872 removed deprecated callable unit tests from TWeakCallableCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
belisoful authored and ctrlaltca committed Apr 18, 2023
1 parent 2c7c4a7 commit 0d9c55d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit/Collections/TWeakCallableCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);

}

Expand Down

0 comments on commit 0d9c55d

Please sign in to comment.