Skip to content

Commit 71952d9

Browse files
PHP-147 - Minor test tweaking
1 parent dc07161 commit 71952d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/Cassandra/NumberTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function numberClasses() {
6363
/**
6464
* Data provider to use for valid number test cases
6565
*
66-
* @return array Class names to test against
66+
* @return array Class name and values to test against
6767
* [
6868
* [0] => Class name for the number type
6969
* [1] => Valid value (also expected value)
@@ -436,10 +436,10 @@ public function testEmptyString($class) {
436436
/**
437437
* @dataProvider numberClasses
438438
* @expectedException Cassandra\Exception\InvalidArgumentException
439-
* @expectedExceptionMessage Invalid integer value: 'invalid'
439+
* @expectedExceptionMessage Invalid integer value: 'invalid123'
440440
*/
441441
public function testInvalidString($class) {
442-
new $class("invalid");
442+
new $class("invalid123");
443443
}
444444

445445
/**

0 commit comments

Comments
 (0)