summaryrefslogtreecommitdiff
path: root/tests
diff options
Diffstat (limited to 'tests')
-rw-r--r--tests/test_previews_payment.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_previews_payment.cpp b/tests/test_previews_payment.cpp
index 53eecf249..a395ce0aa 100644
--- a/tests/test_previews_payment.cpp
+++ b/tests/test_previews_payment.cpp
@@ -146,7 +146,6 @@ class TestPaymentPreview : public ::testing::Test
// needed for styles
dash::Style dash_style;
-
};
TEST_F(TestPaymentPreview, GetHeaderCallsCorrectMethods)
@@ -157,7 +156,7 @@ TEST_F(TestPaymentPreview, GetHeaderCallsCorrectMethods)
ON_CALL(*preview.GetPointer(), GetPrice()).WillByDefault(Return(new nux::VLayout()));
EXPECT_CALL(*preview.GetPointer(), GetPrice()).Times(1);
- preview->GetHeader();
+ preview->GetHeader()->UnReference();
}
TEST_F(TestPaymentPreview, SetupViewsCallCorrectMethods)