diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-05-08 21:44:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-05-08 21:44:48 +0000 |
commit | f116acc887cb90d1b1ff6d0a4fdf255689b03a3b (patch) | |
tree | 2d9b5d21eccf8ff3493feca905174f182fdb287f /modules/openid/tests/openid_test.install | |
parent | 89f2f4acdd585ccd2f425375eaf6df70ef02ebc7 (diff) | |
download | brdo-f116acc887cb90d1b1ff6d0a4fdf255689b03a3b.tar.gz brdo-f116acc887cb90d1b1ff6d0a4fdf255689b03a3b.tar.bz2 |
- Patch #251245 by c960657: moving the test files to their rightful place.
Diffstat (limited to 'modules/openid/tests/openid_test.install')
-rw-r--r-- | modules/openid/tests/openid_test.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/openid/tests/openid_test.install b/modules/openid/tests/openid_test.install new file mode 100644 index 000000000..4f1ba3540 --- /dev/null +++ b/modules/openid/tests/openid_test.install @@ -0,0 +1,13 @@ +<?php +// $Id$ + +/** + * Implementation of hook_install(). + */ +function openid_test_install() { + module_load_include('inc', 'openid'); + // Generate a MAC key (Message Authentication Code) used for signing messages. + // The variable is base64-encoded, because variables cannot contain non-UTF-8 + // data. + variable_set('openid_test_mac_key', base64_encode(_openid_get_bytes(20))); +} |