Skip to content

Commit

Permalink
Remove extra debugging calls
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Mar 24, 2021
1 parent 526a4c9 commit 30998b9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/unittests/CandidateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,21 +1157,6 @@ function testIsAccessibleBy()
->willReturn([new \ProjectID("1"), new \ProjectID("3")]);
'@phan-var \User $user';

var_dump('centerMatch');
var_dump($user->hasCenter($this->_candidate->getCenterID()));
var_dump($user->getCenterIDs());
var_dump($this->_candidate->getCenterID());

var_dump('projMatch');
var_dump($this->_candidate->getProjectID());
var_dump($user->getProjectIDs());

var_dump(
in_array(
$this->_candidate->getProjectID(),
$user->getProjectIDs()
)
);
$result = $this->_candidate->isAccessibleBy($user);
$this->assertTrue($result);
}
Expand Down

0 comments on commit 30998b9

Please sign in to comment.