1
0
Fork 0
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:
Nils Adermann 2012-02-19 00:21:39 +01:00
parent 52d876e11e
commit e6143d1584

View file

@ -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
} }
} }