@@ -500,7 +500,7 @@ public function testPay(): void
500500 self ::assertInstanceOf (UserMulti::class, $ paidTransfer ->withdraw ->payable );
501501 self ::assertSame ($ user ->getKey (), $ paidTransfer ->withdraw ->payable ->getKey ());
502502 self ::assertSame ($ transfer ->from ->id , $ a ->id );
503- self ::assertSame ($ transfer ->to ->id , $ product ->id );
503+ self ::assertSame ($ transfer ->to ->id , $ product ->wallet -> id );
504504 self ::assertSame ($ transfer ->status , Transfer::STATUS_PAID );
505505 self ::assertSame ($ a ->balanceInt , 0 );
506506 self ::assertSame ($ product ->balanceInt , $ product ->getAmountProduct ($ a ));
@@ -512,7 +512,7 @@ public function testPay(): void
512512 self ::assertInstanceOf (UserMulti::class, $ paidTransfer ->withdraw ->payable );
513513 self ::assertSame ($ user ->getKey (), $ paidTransfer ->withdraw ->payable ->getKey ());
514514 self ::assertSame ($ transfer ->from ->id , $ b ->id );
515- self ::assertSame ($ transfer ->to ->id , $ product ->id );
515+ self ::assertSame ($ transfer ->to ->id , $ product ->wallet -> id );
516516 self ::assertSame ($ transfer ->status , Transfer::STATUS_PAID );
517517 self ::assertSame ($ b ->balanceInt , 0 );
518518 self ::assertSame ($ product ->balanceInt , $ product ->getAmountProduct ($ b ) * 2 );
0 commit comments