aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/lib/Wallet/Object/Duo.pm2
-rwxr-xr-xperl/t/object/duo.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl/lib/Wallet/Object/Duo.pm b/perl/lib/Wallet/Object/Duo.pm
index e3fe2da..fcf3819 100644
--- a/perl/lib/Wallet/Object/Duo.pm
+++ b/perl/lib/Wallet/Object/Duo.pm
@@ -105,7 +105,7 @@ sub create {
# Create the object in Duo.
require Net::Duo::Admin::Integration;
my %data = (
- name => $name,
+ name => "$name ($Wallet::Config::DUO_TYPE)",
notes => 'Managed by wallet',
type => $Wallet::Config::DUO_TYPE,
);
diff --git a/perl/t/object/duo.t b/perl/t/object/duo.t
index 4229afe..f73fe7e 100755
--- a/perl/t/object/duo.t
+++ b/perl/t/object/duo.t
@@ -70,7 +70,7 @@ $Wallet::Config::DUO_KEY_FILE = 't/data/duo/keys.json';
# Test creating an integration.
note ('Test creating an integration');
my $expected = {
- name => 'test',
+ name => 'test (unix)',
notes => 'Managed by wallet',
type => 'unix',
};