Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggonzalez94 committed Dec 15, 2024
1 parent 5071167 commit 9fc4d79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/EnglishAuction.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {EnglishAuction} from "../src/EnglishAuction.sol";

contract MockEnglishAuction is EnglishAuction {
address public winnerAssetRecipient;
bool public returnAssetToSeller;

constructor(
address _seller,
Expand All @@ -28,7 +29,7 @@ contract MockEnglishAuction is EnglishAuction {
// Here you would normally transfer the asset to the seller(e.g. the NFT) if there was no winner
// For testing purposes, we just set the winnerAssetRecipient to the seller
function _transferAssetToSeller() internal override {
winnerAssetRecipient = seller;
returnAssetToSeller = true;
}
}

Expand Down

0 comments on commit 9fc4d79

Please sign in to comment.