File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
app/code/Magento/Analytics
dev/tests/api-functional/testsuite/Magento/Analytics/Api Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function get()
61
61
UrlInterface::URL_TYPE_MEDIA
62
62
) . $ fileInfo ->getPath ()
63
63
);
64
- $ link ->setInitializationVector ($ fileInfo ->getInitializationVector ());
64
+ $ link ->setInitializationVector (base64_encode ( $ fileInfo ->getInitializationVector () ));
65
65
return $ link ;
66
66
}
67
67
}
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public function testGet()
123
123
);
124
124
$ this ->linkInterfaceMock ->expects ($ this ->once ())
125
125
->method ('setInitializationVector ' )
126
- ->with ($ fileInitializationVector );
126
+ ->with (base64_encode ( $ fileInitializationVector) );
127
127
$ this ->assertEquals ($ this ->linkInterfaceMock , $ this ->linkProvider ->get ());
128
128
}
129
129
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testGetAll()
58
58
];
59
59
$ response = $ this ->_webApiCall ($ serviceInfo );
60
60
$ this ->assertEquals (2 , count ($ response ));
61
- $ this ->assertEquals ($ fileInfo ->getInitializationVector (), $ response ['initialization_vector ' ]);
61
+ $ this ->assertEquals ($ fileInfo ->getInitializationVector (), base64_encode ( $ response ['initialization_vector ' ]) );
62
62
$ this ->assertEquals (
63
63
$ storeManager ->getStore ()->getBaseUrl (
64
64
UrlInterface::URL_TYPE_MEDIA
You can’t perform that action at this time.
0 commit comments