test: pci_handler: fix compile error with mmap mock
stdplus changed the signature of mmap to have 5 parameters. Fix
the compile failure in the unit tests:
```
50 | MOCK_METHOD(std::span<std::byte>, mmap,
| ^~~~~~~~~~~
/usr/local/include/stdplus/fd/gmock.hpp:50:5: note: candidate expects 5 arguments, 4 provided
```
Change-Id: I0d8c72154c1106f98b77c943bdcc4df2326ddab8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/pci_handler_test.cpp b/test/pci_handler_test.cpp
index 310141b..5c76680 100644
--- a/test/pci_handler_test.cpp
+++ b/test/pci_handler_test.cpp
@@ -31,7 +31,7 @@
fdMock(std::make_unique<stdplus::fd::FdMock>()), fdMockPtr(fdMock.get())
{
// Verify that the constructor is called as expected
- EXPECT_CALL(*fdMockPtr, mmap(_, _, _, _))
+ EXPECT_CALL(*fdMockPtr, mmap(_, _, _, _, _))
.WillOnce(Return(std::span<std::byte>(testMapped)));
pciDataHandler = std::make_unique<PciDataHandler>(
testRegionAddress, testRegionSize, std::move(fdMock));