Skip to content

Commit

Permalink
drop support of setting msg/code in expectedExceptation annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus authored and sebastianbergmann committed Oct 9, 2018
1 parent 10d5e7d commit d173bf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions tests/_files/ExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ public function testFour()
{
}

/**
* @expectedException Class Message 1234
*/
public function testFive()
{
}

/**
* @expectedException Class
* @expectedExceptionMessage Message
Expand Down
5 changes: 0 additions & 5 deletions tests/unit/Util/TestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ public function testGetExpectedException()
Test::getExpectedException(\ExceptionTest::class, 'testFour')
);

$this->assertArraySubset(
['class' => 'Class', 'code' => 1234, 'message' => 'Message'],
Test::getExpectedException(\ExceptionTest::class, 'testFive')
);

$this->assertArraySubset(
['class' => 'Class', 'code' => 1234, 'message' => 'Message'],
Test::getExpectedException(\ExceptionTest::class, 'testSix')
Expand Down

0 comments on commit d173bf1

Please sign in to comment.