@@ -2389,8 +2389,8 @@ def test_assert_updated(self):
23892389
23902390        # when ids has multiple records, all records should be updated 
23912391        with  self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2392-             p1 .company_name  =  "Survey Corps" 
2393-             p2 .company_name  =  "Survey Corps" 
2392+             p1 .city  =  "Survey Corps" 
2393+             p2 .city  =  "Survey Corps" 
23942394            util .flush (p1 )
23952395            util .flush (p2 )
23962396        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2426,12 +2426,12 @@ def test_assert_not_updated(self):
24262426
24272427        # when ids has a record, only that record should not be updated 
24282428        with  self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2429-             p1 .company_name  =  "Survey Corps" 
2429+             p1 .city  =  "Survey Corps" 
24302430            util .flush (p1 )
24312431
24322432        # when ids has multiple records, none of them should be updated 
24332433        with  self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2434-             p2 .company_name  =  "Survey Corps" 
2434+             p2 .city  =  "Survey Corps" 
24352435            util .flush (p2 )
24362436
24372437    def  test_assert_updated_combo (self ):
@@ -2441,7 +2441,7 @@ def test_assert_updated_combo(self):
24412441        util .flush (p2 )
24422442
24432443        with  self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2444-             p1 .company_name  =  "Marley Warriors" 
2444+             p1 .city  =  "Marley Warriors" 
24452445            util .flush (p1 )
24462446
24472447        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments