Lines 145-151
subtest 'Add same file in same category' => sub {
Link Here
|
145 |
is( $upl->count, 0, 'Upload 4 failed as expected' ); |
145 |
is( $upl->count, 0, 'Upload 4 failed as expected' ); |
146 |
is( $upl->result, undef, 'Result is undefined' ); |
146 |
is( $upl->result, undef, 'Result is undefined' ); |
147 |
my $e = $upl->err; |
147 |
my $e = $upl->err; |
148 |
is( $e->{file2}, 1, "Errcode 1 [already exists] reported" ); |
148 |
is( $e->{file2}->{code}, 1, "Errcode 1 [already exists] reported" ); |
149 |
}; |
149 |
}; |
150 |
|
150 |
|
151 |
subtest 'Test delete via UploadedFile as well as UploadedFiles' => sub { |
151 |
subtest 'Test delete via UploadedFile as well as UploadedFiles' => sub { |
152 |
- |
|
|