Contributor app tests #143
@ -66,8 +66,8 @@ contract('Contributor app', (accounts) => {
|
||||
|
||||
|
||||
});
|
||||
|
||||
describe("Owner default space permissions", async () => {
|
||||
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() cool will change that cool will change that
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
|
||||
it('check owner is token issuer', async () => {
|
||||
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() cool will change that cool will change that
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
|
||||
describe("Owner default permissions", async () => {
|
||||
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() cool will change that cool will change that
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
|
||||
it('check owner is contributors manager', async () => {
|
||||
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() cool will change that cool will change that
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
|
||||
let manageContributorPermission = await acl.hasPermission(root, contributor.address, await contributor.MANAGE_CONTRIBUTORS_ROLE());
|
||||
// eslint-disable-next-line no-undef
|
||||
assert.equal(manageContributorPermission, true);
|
||||
|
||||
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() we should be able to use the namehash from ethers: we should be able to use the namehash from ethers:
`const namehash = require('ethers').utils.namehash;`
as ethers.js is already a dependency we do not need to add another dependency
![]() cool will change that cool will change that
![]() cool will change that cool will change that
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
![]() for the ganache script, it is basically the same aragon one, but I changed
to
Because for the ganache script, it is basically the same aragon one, but I changed
```
run_tests() {
echo "Running tests..."
npx truffle test --network rpc "$@"
}
```
to
```
run_tests() {
echo "Running tests..."
npx aragon contracts test --network rpc "$@"
}
```
Because `npx truffle test --network rpc "$@"` didn't work for me for no reason...
|
we should be able to use the namehash from ethers:
const namehash = require('ethers').utils.namehash;
as ethers.js is already a dependency we do not need to add another dependency
we should be able to use the namehash from ethers:
const namehash = require('ethers').utils.namehash;
as ethers.js is already a dependency we do not need to add another dependency
cool will change that
cool will change that
for the ganache script, it is basically the same aragon one, but I changed
to
Because
npx truffle test --network rpc "$@"
didn't work for me for no reason...for the ganache script, it is basically the same aragon one, but I changed
to
Because
npx truffle test --network rpc "$@"
didn't work for me for no reason...