Alzabo - 03-runtime.t error

Posted on Wed Sep 7 17:31:06 2005 by alexmc
03-runtime.t error
I am getting this single error in the Alzabo MySQL tests.
# Failed test (t/03-runtime.t at line 1601)
# got: '999991'
# expected: '999993'
Does anyone know where this fault lies? The test line is
is( $rows[-1]->select('employee_id'), 999993,
"Last row should be id 999993" );

Looking at the test it is trying to say that record 999993 is the last record ordered by smell....
| 999991 | OB1 | worse | NULL | NULL | NULL | 1 |
| 999992 | OB2 | bad | NULL | NULL | NULL | 1 |
| 999993 | OB2 | worse | NULL | NULL | NULL | 1 |
| So why should it be 999993 and not 999991. Seems like a bad test to me. Can anyone confirm this?
Direct Responses: 969 | Write a response