diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-03-23 12:16:06 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-03-23 12:16:06 -0500 |
commit | 82588108a40fb50b2bbd3c7b89b990f76f488edc (patch) | |
tree | 925461061bed122ba63d46f5da7449d89b098f93 /tests | |
parent | 4f8a17f23a0bba7da7654c147ca377e271abe0db (diff) | |
download | ayatana-indicator-display-82588108a40fb50b2bbd3c7b89b990f76f488edc.tar.gz ayatana-indicator-display-82588108a40fb50b2bbd3c7b89b990f76f488edc.tar.bz2 ayatana-indicator-display-82588108a40fb50b2bbd3c7b89b990f76f488edc.zip |
replace text 'Deny' with 'Don't Allow' for consistency with other permission prompts
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/usb-manager-test.cpp | 2 | ||||
-rw-r--r-- | tests/unit/usb-snap-test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp index 03c80c7..d62756f 100644 --- a/tests/integration/usb-manager-test.cpp +++ b/tests/integration/usb-manager-test.cpp @@ -122,7 +122,7 @@ TEST_F(UsbManagerFixture, Allow) EXPECT_EQ("computer-symbolic", args.at(2)); // icon name EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + QString::fromUtf8(fingerprint.c_str()), args.at(4)); // body - EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Deny"}), args.at(5)); // actions + EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions EXPECT_EQ(-1, args.at(7)); QVariantMap hints; diff --git a/tests/unit/usb-snap-test.cpp b/tests/unit/usb-snap-test.cpp index 40de94a..3b778dd 100644 --- a/tests/unit/usb-snap-test.cpp +++ b/tests/unit/usb-snap-test.cpp @@ -106,7 +106,7 @@ TEST_F(UsbSnapFixture, TestRoundTrip) EXPECT_EQ("computer-symbolic", args.at(2)); // icon name EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + test.fingerprint, args.at(4)); // body - EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Deny"}), args.at(5)); // actions + EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions EXPECT_EQ(-1, args.at(7)); QVariantMap hints; |