# OpenZeppelin Test Helpers 0.5

**URL:** <https://forum.openzeppelin.com/t/openzeppelin-test-helpers-0-5/1600>\
**Category:** Announcements\
**Tags:** release\
**Created:** [October 23, 2019, 12:05am UTC](https://forum.openzeppelin.com/t/openzeppelin-test-helpers-0-5/1600 "2019-10-23T00:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [October 24, 2019, 5:33am UTC](https://forum.openzeppelin.com/t/openzeppelin-test-helpers-0-5/1600/3 "2019-10-24T05:33:38Z")

</div>

I ❤ the Test Helpers. (I am biased 😄).

I upgraded my tests for [https://github.com/abcoathup/Simple777Token](https://github.com/abcoathup/Simple777Token) and got the following error which had me stumped. Similar tests worked on [https://github.com/OpenZeppelin/openzeppelin-contracts](https://github.com/OpenZeppelin/openzeppelin-contracts).

```auto
TypeError: this.erc1820.setInterfaceImplementer is not a function

```

I had forgotten that migrations were run as part of `truffle test` (even though in my tests I create new contract instances in `beforeEach`).

As per [how to upgrade from 0.4](https://github.com/OpenZeppelin/openzeppelin-test-helpers/blob/master/CHANGELOG.md#how-to-upgrade-from-04) I needed to change in my migrations (`2_deploy.js`)

```auto
require('@openzeppelin/test-helpers/configure')({ web3 });

```

to

```auto
require('@openzeppelin/test-helpers/configure')({ provider: web3.currentProvider, environment: 'truffle' });

```

---

_[View the full topic](https://forum.openzeppelin.com/t/openzeppelin-test-helpers-0-5/1600)._
