def METHOD_NAME(sample_user, sample_service):
    make_invitation(
        sample_user,
        sample_service,
        age=timedelta(hours=47, minutes=59, seconds=59),
        email_address="valid@2.com",
    )
    make_invitation(
        sample_user,
        sample_service,
        age=timedelta(hours=48),
        email_address="expired@1.com",
    )
    assert len(InvitedUser.query.all()) == 2
    delete_invitations_created_more_than_two_days_ago()
    assert len(InvitedUser.query.all()) == 1
    assert InvitedUser.query.first().email_address == "valid@2.com"