mirror of https://gitlab.com/ecentrics/concordia
12 lines
300 B
12 lines
300 B
4 years ago
|
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.');
|
||
|
});
|
||
|
});
|