deleteUserReport() public method

public deleteUserReport ( $userLogin )
示例#1
0
 public function test_deleteUserReport_shouldRemoveAllReportsOfASpecificUser()
 {
     $this->reports->deleteUserReport('userLogin');
     $this->assertHasNotReport('userlogin', 1);
     $this->assertHasNotReport('userlogin', 2);
     $this->assertHasNotReport('userlogin', 3);
     $this->assertHasNotReport('userlogin', 4);
     $this->assertHasReport('otherUser', 1);
     $this->assertHasReport('anotherUser', 2);
 }