mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-11-08 12:34:44 +00:00
fix query sp alerts & bump time-series (#547)
* fix query sp alerts & bump time-series * add package-lock.json back * fix: use shared parseAccountSid/parseServiceProviderSid from utils in alerts and recent-calls routes * fix/update tests * fix tests --------- Co-authored-by: Dave Horton <daveh@beachdognet.com>
This commit is contained in:
1 parent
b95a593182
commit
4c6ad12a7f
15 files changed
+373
-327
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ test('add an admin user', (t) => {
|
||||
});
|
||||
});
|
||||
test('prepare permissions', (t) => {
|
||||
exec(`mysql -h 127.0.0.1 -u root --protocol=tcp --port=3360 -D jambones_test < ${__dirname}/../db/prepare-permissions-test.sql`, (err, stdout, stderr) => {
|
||||
exec(`docker exec -i mysql-jambonz-test mysql -u root -D jambones_test < ${__dirname}/../db/prepare-permissions-test.sql`, (err, stdout, stderr) => {
|
||||
if (err) return t.end(err);
|
||||
t.pass('permissions prepared');
|
||||
t.end();
|
||||
|
||||
Reference in new issue
Block a user