Barnet will go take on Championship-bound Brentford as part of their pre-season preparations.
The Bees will host the Bees at The Hive on July 22 - replacing their original away fixture at Maidenhead.
Mark Warburton's side were promoted to the Championship as League One runners-up - 12 months after losing out in the play-off final to Yeovil Town.
A new date for the Maidenhead tie will be released in due course.
Full Barnet pre-season schedule:
Saturday, 12 July: Barnet vs Peterborough United (3pm)
Tuesday, 15 July: Barnet vs Stevenage (7.45pm)
Tuesday, 22 July: Barnet vs Brentford (7.45pm)
Tuesday, 29 July: Margate vs Barnet (7.45pm)
Saturday, 2 August: Barnet vs Wycombe Wanderers (3pm)
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here