From bcd566c5f6a847d7b3f359af119bb8218f23bf77 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 3 Feb 2017 13:31:56 +0100 Subject: [PATCH] Bug 18014: QA follow-up: Use ok() instead of is() for '>' comparison Signed-off-by: Julian Maurice Signed-off-by: Kyle M Hall --- t/db_dependent/AuthoritiesMarc.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/AuthoritiesMarc.t b/t/db_dependent/AuthoritiesMarc.t index d3ebc25f1a..57fcc883ef 100755 --- a/t/db_dependent/AuthoritiesMarc.t +++ b/t/db_dependent/AuthoritiesMarc.t @@ -202,7 +202,7 @@ subtest 'AddAuthority should respect AUTO_INCREMENT (BZ 18104)' => sub { isnt( $id1, $id2, 'Do not return the same id again' ); t::lib::Mocks::mock_preference( 'marcflavour', 'UNIMARC' ); my $id3 = AddAuthority( $record, undef, 'GEOGR_NAME' ); - is( $id3 > 0, 1, 'Tested AddAuthority with UNIMARC' ); + ok( $id3 > 0, 'Tested AddAuthority with UNIMARC' ); is( $record->field('001')->data, $id3, 'Check updated 001' ); }; -- 2.39.5