Fixed tests for updated database dump
This commit is contained in:
parent
2ef6cdfa4b
commit
73a881a408
|
@ -251,7 +251,7 @@ test.run(async function () {
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 'example.com',
|
name: 'example.com',
|
||||||
type: 'MASTER',
|
type: 'MASTER',
|
||||||
records: 1
|
records: 3
|
||||||
}, 'Domain 3 data mismatch');
|
}, 'Domain 3 data mismatch');
|
||||||
});
|
});
|
||||||
});
|
});
|
|
@ -102,7 +102,7 @@ test.run(async function () {
|
||||||
id: 3,
|
id: 3,
|
||||||
name: 'foo.de',
|
name: 'foo.de',
|
||||||
type: 'NATIVE',
|
type: 'NATIVE',
|
||||||
records: 0
|
records: 1
|
||||||
}
|
}
|
||||||
], 'Result fail for ' + res.config.url);
|
], 'Result fail for ' + res.config.url);
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,6 +14,14 @@ then
|
||||||
echo "Backend lint failed"
|
echo "Backend lint failed"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ../..
|
||||||
|
|
||||||
|
cd backend/test
|
||||||
|
if ! ./test.sh all
|
||||||
|
then
|
||||||
|
echo "Backend test failed"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
cd ../..
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in a new issue