@@ -142,95 +142,6 @@ public function getConfigDataDataProvider()
142
142
Url::XML_PATH_USE_SECURE_KEY => '1 ' ,
143
143
],
144
144
],
145
- 'is_secure, is_secure_admin set but no secure base url ' =>
146
- [
147
- [
148
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
149
- StoreConfigurationDataMapper::KEY_IS_SECURE => '1 ' ,
150
- StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN => '1 ' ,
151
- ],
152
- [
153
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
154
- ],
155
- ],
156
- 'secure base url set but is_secure and is_secure_admin set to 0 ' =>
157
- [
158
- [
159
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
160
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
161
- StoreConfigurationDataMapper::KEY_IS_SECURE => '0 ' ,
162
- StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN => '0 ' ,
163
- ],
164
- [
165
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
166
- ],
167
- ],
168
- 'secure base url set but is_secure and is_secure_admin not set ' =>
169
- [
170
- [
171
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
172
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
173
- ],
174
- [
175
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
176
- ],
177
- ],
178
- 'secure base url set, is_secure set to 0, is_secure_admin set to 1 ' =>
179
- [
180
- [
181
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
182
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
183
- StoreConfigurationDataMapper::KEY_IS_SECURE => '0 ' ,
184
- StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN => '1 ' ,
185
- ],
186
- [
187
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
188
- Store::XML_PATH_SECURE_IN_FRONTEND => '0 ' ,
189
- Store::XML_PATH_SECURE_BASE_URL => 'https://127.0.0.1/ ' ,
190
- Store::XML_PATH_SECURE_IN_ADMINHTML => '1 ' ,
191
- ],
192
- ],
193
- 'secure base url set, is_secure set to 1, is_secure_admin set to 0 ' =>
194
- [
195
- [
196
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
197
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
198
- StoreConfigurationDataMapper::KEY_IS_SECURE => '1 ' ,
199
- StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN => '0 ' ,
200
- ],
201
- [
202
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
203
- Store::XML_PATH_SECURE_IN_FRONTEND => '1 ' ,
204
- Store::XML_PATH_SECURE_BASE_URL => 'https://127.0.0.1/ ' ,
205
- Store::XML_PATH_SECURE_IN_ADMINHTML => '0 ' ,
206
- ],
207
- ],
208
- 'secure base url set, is_secure not set, is_secure_admin set to 1 ' =>
209
- [
210
- [
211
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
212
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
213
- StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN => '1 ' ,
214
- ],
215
- [
216
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
217
- Store::XML_PATH_SECURE_BASE_URL => 'https://127.0.0.1/ ' ,
218
- Store::XML_PATH_SECURE_IN_ADMINHTML => '1 ' ,
219
- ],
220
- ],
221
- 'secure base url set, is_secure set to 1, is_secure_admin not set ' =>
222
- [
223
- [
224
- StoreConfigurationDataMapper::KEY_BASE_URL => 'http://127.0.0.1/ ' ,
225
- StoreConfigurationDataMapper::KEY_BASE_URL_SECURE => 'https://127.0.0.1 ' ,
226
- StoreConfigurationDataMapper::KEY_IS_SECURE => '1 ' ,
227
- ],
228
- [
229
- Store::XML_PATH_UNSECURE_BASE_URL => 'http://127.0.0.1/ ' ,
230
- Store::XML_PATH_SECURE_IN_FRONTEND => '1 ' ,
231
- Store::XML_PATH_SECURE_BASE_URL => 'https://127.0.0.1/ ' ,
232
- ],
233
- ],
234
145
];
235
146
}
236
147
}
0 commit comments