12 lines
300 B

const Forum = artifacts.require('Forum');
contract('Forum', (accounts) => {
it('...should succeed.', async () => {
const forumInstance = await Forum.deployed();
assert
.ok(forumInstance
.signUp('testUsername', { from: accounts[0] }), 'The user was not created.');
});
});