diff --git a/docs/images/dfd-0.dot b/docs/images/dfd-0.dot index fc115015..fd7f5702 100644 --- a/docs/images/dfd-0.dot +++ b/docs/images/dfd-0.dot @@ -1,26 +1,26 @@ digraph dfd0 { perseo[shape=circle]; - sms[label="SMS Gateway"] [shape=box]; - smtp[label="SMTP Server"] [shape=box]; - orion[label="Orion"] [shape=box]; - oriondb[label="Orion DB"] [shape=box]; - http[label="HTTP Server"] [shape=box]; - portal[label="Portal"] [shape=box]; - auth[label="Auth server"] [shape=box]; + sms[label="SMS Gateway"] [shape=box]; + smtp[label="SMTP Server"] [shape=box]; + orion[label="Orion"] [shape=box]; + oriondb[label="Orion DB"] [shape=box]; + http[label="HTTP Server"] [shape=box]; + portal[label="Portal"] [shape=box]; + auth[label="Auth server"] [shape=box]; - perseo -> sms [label="action"]; - perseo -> smtp [label="action"]; - perseo -> http [label="action"]; - orion -> perseo [label="event"]; - perseo -> orion [label="action"]; - portal -> perseo [label="rules"]; - perseo -> portal [label="rules"]; - oriondb -> perseo [label="entity"]; - perseo -> auth [label="trust token"]; - auth -> perseo [label="access token"]; + perseo -> sms [label="action"]; + perseo -> smtp [label="action"]; + perseo -> http [label="action"]; + orion -> perseo [label="event"]; + perseo -> orion [label="action"]; + portal -> perseo [label="rules"]; + perseo -> portal [label="rules"]; + oriondb -> perseo [label="entity"]; + perseo -> auth [label="trust"]; + auth -> perseo [label="access token"]; - { rank=uno; sms smtp http } - { rank=two; orion oriondb portal } + { rank=uno; sms smtp http } + { rank=two; orion oriondb portal } } diff --git a/test/component/auth_test.js b/test/component/auth_test.js index 08cc55d0..9f4a6c6f 100644 --- a/test/component/auth_test.js +++ b/test/component/auth_test.js @@ -38,7 +38,7 @@ describe('Auth', function() { afterEach(testEnv.commonAfterEach); describe('#UpdateAction()', function() { - it('should return ok with using a trust token', function(done) { + it('should return ok with using a trust', function(done) { var rule = utilsT.loadExample('./test/data/good_rules/blood_rule_update_trust.json'), action = utilsT.loadExample('./test/data/good_actions/action_update_trust.json'), date = new Date();