mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Add todos to explain why try/catch is inside the test
This commit is contained in:
parent
52d876e11e
commit
e6143d1584
1 changed files with 2 additions and 0 deletions
|
@ -503,6 +503,7 @@ class SolverTest extends TestCase
|
||||||
$transaction = $this->solver->solve($this->request);
|
$transaction = $this->solver->solve($this->request);
|
||||||
$this->fail('Unsolvable conflict did not resolve in exception.');
|
$this->fail('Unsolvable conflict did not resolve in exception.');
|
||||||
} catch (SolverProblemsException $e) {
|
} catch (SolverProblemsException $e) {
|
||||||
|
// @todo: assert problem properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -523,6 +524,7 @@ class SolverTest extends TestCase
|
||||||
$transaction = $this->solver->solve($this->request);
|
$transaction = $this->solver->solve($this->request);
|
||||||
$this->fail('Unsolvable conflict did not resolve in exception.');
|
$this->fail('Unsolvable conflict did not resolve in exception.');
|
||||||
} catch (SolverProblemsException $e) {
|
} catch (SolverProblemsException $e) {
|
||||||
|
// @todo: assert problem properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue