Commit cbed1945 authored by Xavier Guimard's avatar Xavier Guimard

Add test for encode_base64

parent a35f6948
......@@ -12,6 +12,7 @@ describe('Lemonldap::NG handler', function() {
expect(browser.driver.findElement(by.id('v-Hello')).getText()).toEqual('Hello');
expect(browser.driver.findElement(by.id('v-Uri')).getText()).toEqual('/');
expect(browser.driver.findElement(by.id('v-Additional-Arg')).getText()).toEqual('header-added');
expect(browser.driver.findElement(by.id('v-Base64')).getText()).toEqual('YTpi');
});
});
});
\ No newline at end of file
});
......@@ -103,7 +103,8 @@
"Ip-Addr": "$ipAddr",
"Hello": "hello()",
"Uri": "get_uri()",
"Additional-Arg": "get_additional_arg('header-added')"
"Additional-Arg": "get_additional_arg('header-added')",
"Base64": "encode_base64('a:b','')"
},
"test2.example.com": {
"Auth-User": "$uid"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment