Fixed crashing nsapi_dns unittest

Added missing "return" for NetworkStackMock's get_stack() method
pull/11967/head
Antti Kauppila 2019-11-28 11:23:35 +02:00 committed by GitHub
parent a1cddbae5f
commit 367bae654d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public:
public:
NetworkStack *get_stack()
{
NetworkStackMock::get_instance();
return &NetworkStackMock::get_instance();
}
MOCK_METHOD0(set_default_parameters, void());
};