8000 fix test for thrown exception message · xabbuh/PandaBundle@71200e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 71200e4

Browse files
committed
fix test for thrown exception message
This makes test pass again given the improvements to the message of the exception that is thrown since symfony/symfony#15533 when a required argument is missing.
1 parent 98e9d12 commit 71200e4

17 files changed

+18
-18
lines changed

Tests/Command/CancelEncodingCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testCommand()
4444

4545
/**
4646
* @expectedException \RuntimeException
47-
* @expectedExceptionMessage Not enough arguments.
47+
* @expectedExceptionMessage Not enough arguments
4848
*/
4949
public function testCommandWithoutArguments()
5050
{

Tests/Command/ChangeUrlCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testCommand()
4343

4444
/**
4545
* @expectedException \RuntimeException
46-
* @expectedExceptionMessage Not enough arguments.
46+
* @expectedExceptionMessage Not enough arguments
4747
*/
4848
public function testCommandWithoutArguments()
4949
{

Tests/Command/CreateEncodingCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function testCommandWithProfileName()
7777

7878
/**
7979
* @expectedException \RuntimeException
80-
* @expectedExceptionMessage Not enough arguments.
80+
* @expectedExceptionMessage Not enough arguments
8181
*/
8282
public function testCommandWithoutArguments()
8383
{

Tests/Command/CreateProfileCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testCommand()
4646

4747
/**
4848
* @expectedException \RuntimeException
49-
* @expectedExceptionMessage Not enough arguments.
49+
* @expectedExceptionMessage Not enough arguments
5050
*/
5151
public function testCommandWithoutArguments()
5252
{

Tests/Command/DeleteEncodingCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testCommand()
4141

4242
/**
4343
* @expectedException \RuntimeException
44-
* @expectedExceptionMessage Not enough arguments.
44+
* @expectedExceptionMessage Not enough arguments
4545
*/
4646
public function testCommandWithoutArguments()
4747
{

Tests/Command/DeleteProfileCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testCommand()
4141

4242
/**
4343
* @expectedException \RuntimeException
44-
* @expectedExceptionMessage Not enough arguments.
44+
* @expectedExceptionMessage Not enough arguments
4545
*/
4646
public function testCommandWithoutArguments()
4747
{

Tests/Command/DeleteVideoCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testCommand()
4141

4242
/**
4343
* @expectedException \RuntimeException
44-
* @expectedExceptionMessage Not enough arguments.
44+
* @expectedExceptionMessage Not enough arguments
4545
*/
4646
public function testCommandWithoutArguments()
4747
{

Tests/Command/DisableEventCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testCommand()
4545

4646
/**
4747
* @expectedException \RuntimeException
48-
* @expectedExceptionMessage Not enough arguments.
48+
* @expectedExceptionMessage Not enough arguments
4949
*/
5050
public function testCommandWithoutArguments()
5151
{

Tests/Command/EnableEventCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testCommand()
4545

4646
/**
4747
* @expectedException \RuntimeException
48-
* @expectedExceptionMessage Not enough arguments.
48+
* @expectedExceptionMessage Not enough arguments
4949
*/
5050
public function testCommandWithoutArguments()
5151
{

Tests/Command/EncodingInfoCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testCommandWithFailedEncoding()
111111

112112
/**
113113
* @expectedException \RuntimeException
114-
* @expectedExceptionMessage Not enough arguments.
114+
* @expectedExceptionMessage Not enough arguments
115115
*/
116116
public function testCommandWithoutArguments()
117117
{

0 commit comments

Comments
 (0)
0