diff --git tests/phpunit/testcases/activity/functions.php tests/phpunit/testcases/activity/functions.php
index c6e09ac..09e2c64 100644
|
|
|
Bar!';
|
| 723 | 723 | } |
| 724 | 724 | |
| 725 | 725 | /** |
| | 726 | * @group bp_activity_new_comment |
| | 727 | * @group BP5907 |
| | 728 | */ |
| | 729 | public function test_bp_activity_comment_on_deleted_activity() { |
| | 730 | $a = $this->factory->activity->create(); |
| | 731 | |
| | 732 | bp_activity_delete_by_activity_id( $a ); |
| | 733 | |
| | 734 | $c = bp_activity_new_comment( array( |
| | 735 | 'activity_id' => $a, |
| | 736 | 'parent_id' => $a, |
| | 737 | 'content' => 'foo', |
| | 738 | 'user_id' => 1, |
| | 739 | ) ); |
| | 740 | |
| | 741 | $this->assertEmpty( $c ); |
| | 742 | } |
| | 743 | |
| | 744 | /** |
| 726 | 745 | * @group favorites |
| 727 | 746 | * @group bp_activity_add_user_favorite |
| 728 | 747 | */ |