@@ -2240,8 +2240,8 @@ def test_assert_updated(self):
22402240
22412241        # when ids has multiple records, all records should be updated 
22422242        with  self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2243-             p1 .company_name  =  "Survey Corps" 
2244-             p2 .company_name  =  "Survey Corps" 
2243+             p1 .city  =  "Survey Corps" 
2244+             p2 .city  =  "Survey Corps" 
22452245            util .flush (p1 )
22462246            util .flush (p2 )
22472247        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2277,12 +2277,12 @@ def test_assert_not_updated(self):
22772277
22782278        # when ids has a record, only that record should not be updated 
22792279        with  self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2280-             p1 .company_name  =  "Survey Corps" 
2280+             p1 .city  =  "Survey Corps" 
22812281            util .flush (p1 )
22822282
22832283        # when ids has multiple records, none of them should be updated 
22842284        with  self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2285-             p2 .company_name  =  "Survey Corps" 
2285+             p2 .city  =  "Survey Corps" 
22862286            util .flush (p2 )
22872287
22882288    def  test_assert_updated_combo (self ):
@@ -2292,7 +2292,7 @@ def test_assert_updated_combo(self):
22922292        util .flush (p2 )
22932293
22942294        with  self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2295-             p1 .company_name  =  "Marley Warriors" 
2295+             p1 .city  =  "Marley Warriors" 
22962296            util .flush (p1 )
22972297
22982298        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments