@@ -409,7 +409,7 @@ Test( oracle, upd_price ) {
409
409
.data_len = sizeof ( idata ),
410
410
.program_id = & p_id
411
411
};
412
- cr_assert ( SUCCESSFULLY_UPDATED_AGGREGATE == dispatch ( & prm , acc ) );
412
+ cr_assert ( SUCCESS == dispatch ( & prm , acc ) );
413
413
cr_assert ( sptr -> comp_ [0 ].latest_ .price_ == 42L );
414
414
cr_assert ( sptr -> comp_ [0 ].latest_ .conf_ == 2L );
415
415
cr_assert ( sptr -> comp_ [0 ].latest_ .pub_slot_ == 1 );
@@ -478,7 +478,7 @@ Test( oracle, upd_price ) {
478
478
// Crank one more time and aggregate should be unknown
479
479
idata .pub_slot_ = 6 ;
480
480
cvar .slot_ = 7 ;
481
- cr_assert ( SUCCESSFULLY_UPDATED_AGGREGATE == dispatch ( & prm , acc ) );
481
+ cr_assert ( SUCCESS == dispatch ( & prm , acc ) );
482
482
cr_assert ( sptr -> agg_ .status_ == PC_STATUS_UNKNOWN );
483
483
}
484
484
@@ -559,7 +559,7 @@ Test( oracle, upd_price_no_fail_on_error ) {
559
559
pc_pub_key_assign ( & sptr -> comp_ [0 ].pub_ , (pc_pub_key_t * )& pkey );
560
560
561
561
// 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 ) );
563
563
cr_assert ( sptr -> comp_ [0 ].latest_ .price_ == 42L );
564
564
cr_assert ( sptr -> comp_ [0 ].latest_ .conf_ == 9L );
565
565
cr_assert ( sptr -> comp_ [0 ].latest_ .pub_slot_ == 1 );
0 commit comments