@@ -409,7 +409,7 @@ Test( oracle, upd_price ) {
409409 .data_len = sizeof ( idata ),
410410 .program_id = & p_id
411411 };
412- cr_assert ( SUCCESSFULLY_UPDATED_AGGREGATE == dispatch ( & prm , acc ) );
412+ cr_assert ( SUCCESS == dispatch ( & prm , acc ) );
413413 cr_assert ( sptr -> comp_ [0 ].latest_ .price_ == 42L );
414414 cr_assert ( sptr -> comp_ [0 ].latest_ .conf_ == 2L );
415415 cr_assert ( sptr -> comp_ [0 ].latest_ .pub_slot_ == 1 );
@@ -478,7 +478,7 @@ Test( oracle, upd_price ) {
478478 // Crank one more time and aggregate should be unknown
479479 idata .pub_slot_ = 6 ;
480480 cvar .slot_ = 7 ;
481- cr_assert ( SUCCESSFULLY_UPDATED_AGGREGATE == dispatch ( & prm , acc ) );
481+ cr_assert ( SUCCESS == dispatch ( & prm , acc ) );
482482 cr_assert ( sptr -> agg_ .status_ == PC_STATUS_UNKNOWN );
483483}
484484
@@ -559,7 +559,7 @@ Test( oracle, upd_price_no_fail_on_error ) {
559559 pc_pub_key_assign ( & sptr -> comp_ [0 ].pub_ , (pc_pub_key_t * )& pkey );
560560
561561 // The update should now succeed, and have an effect.
562- cr_assert ( SUCCESSFULLY_UPDATED_AGGREGATE == dispatch ( & prm , acc ) );
562+ cr_assert ( SUCCESS == dispatch ( & prm , acc ) );
563563 cr_assert ( sptr -> comp_ [0 ].latest_ .price_ == 42L );
564564 cr_assert ( sptr -> comp_ [0 ].latest_ .conf_ == 9L );
565565 cr_assert ( sptr -> comp_ [0 ].latest_ .pub_slot_ == 1 );
0 commit comments