@@ -2524,8 +2524,8 @@ def test_assert_updated(self):
25242524
25252525        # when ids has multiple records, all records should be updated 
25262526        with  self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2527-             p1 .company_name  =  "Survey Corps" 
2528-             p2 .company_name  =  "Survey Corps" 
2527+             p1 .city  =  "Survey Corps" 
2528+             p2 .city  =  "Survey Corps" 
25292529            util .flush (p1 )
25302530            util .flush (p2 )
25312531        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2561,12 +2561,12 @@ def test_assert_not_updated(self):
25612561
25622562        # when ids has a record, only that record should not be updated 
25632563        with  self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2564-             p1 .company_name  =  "Survey Corps" 
2564+             p1 .city  =  "Survey Corps" 
25652565            util .flush (p1 )
25662566
25672567        # when ids has multiple records, none of them should be updated 
25682568        with  self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2569-             p2 .company_name  =  "Survey Corps" 
2569+             p2 .city  =  "Survey Corps" 
25702570            util .flush (p2 )
25712571
25722572    def  test_assert_updated_combo (self ):
@@ -2576,7 +2576,7 @@ def test_assert_updated_combo(self):
25762576        util .flush (p2 )
25772577
25782578        with  self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2579-             p1 .company_name  =  "Marley Warriors" 
2579+             p1 .city  =  "Marley Warriors" 
25802580            util .flush (p1 )
25812581
25822582        with  self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments