diff --git a/STINK_student_records/Test_classes/Staff/STINK_student_records_Test_Staff_data.php b/STINK_student_records/Test_classes/Staff/STINK_student_records_Test_Staff_data.php index c8c6594..0aacbba 100644 --- a/STINK_student_records/Test_classes/Staff/STINK_student_records_Test_Staff_data.php +++ b/STINK_student_records/Test_classes/Staff/STINK_student_records_Test_Staff_data.php @@ -54,26 +54,14 @@ /** - * @dataProvider provideColumnOverflowValues + * @dataProvider provideColumnUnderflowValues * @expectedException PDOException * @expectedExceptionMessage check constraint * @expectedExceptionCode HY000 */ - public function testColumnOverflowValueExplicit( $columnName, $overflowValue ) + public function testColumnUnderflowValue( $columnName, $underflowValue ) { - $this->assertColumnOverflowValueExplicit( $columnName, $overflowValue ); - } - - - /** - * @dataProvider provideColumnOverflowValues - * @expectedException PDOException - * @expectedExceptionMessage length exceeded - * @expectedExceptionCode HY000 - */ - public function testColumnOverflowValueImplicit( $columnName, $overflowValue ) - { - $this->assertColumnOverflowValueImplicit( $columnName, $overflowValue ); + $this->assertColumnUnderflowValue( $columnName, $underflowValue ); } } ?>