File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
dev/tests/api-functional/testsuite/Magento/Analytics/Api Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,20 @@ public function testGetAll()
68
68
return ;
69
69
}
70
70
$ this ->fail ("Exception 'Operation allowed only in HTTPS' should be thrown " );
71
+ } else {
72
+ $ response = $ this ->_webApiCall ($ serviceInfo );
73
+ $ this ->assertEquals (2 , count ($ response ));
74
+ $ this ->assertEquals (
75
+ base64_encode ($ fileInfo ->getInitializationVector ()),
76
+ $ response ['initialization_vector ' ]
77
+ );
78
+ $ this ->assertEquals (
79
+ $ storeManager ->getStore ()->getBaseUrl (
80
+ UrlInterface::URL_TYPE_MEDIA
81
+ ) . $ fileInfo ->getPath (),
82
+ $ response ['url ' ]
83
+ );
71
84
}
72
-
73
- $ response = $ this ->_webApiCall ($ serviceInfo );
74
- $ this ->assertEquals (2 , count ($ response ));
75
- $ this ->assertEquals (base64_encode ($ fileInfo ->getInitializationVector ()), $ response ['initialization_vector ' ]);
76
- $ this ->assertEquals (
77
- $ storeManager ->getStore ()->getBaseUrl (
78
- UrlInterface::URL_TYPE_MEDIA
79
- ) . $ fileInfo ->getPath (),
80
- $ response ['url ' ]
81
- );
82
85
}
83
86
84
87
/**
You can’t perform that action at this time.
0 commit comments