- Timestamp:
- 12/20/2016 02:54:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/activity/class.BP_Activity_Activity.php
r10217 r11312 772 772 } 773 773 774 /** 775 * @ticket BP7394 776 */ 777 public function test_nonexistent_activity_should_have_id_0_after_population() { 778 $a = $this->factory->activity->create(); 779 bp_activity_delete_by_activity_id( $a ); 780 781 $a_obj = new BP_Activity_Activity( $a ); 782 $this->assertSame( 0, $a_obj->id ); 783 } 784 774 785 public function action_cb( $activity ) { 775 786 return 'Woo Hoo!';
Note: See TracChangeset
for help on using the changeset viewer.