Skip to content

Commit 42f8ee1

Browse files
committed
Fix nextcloud tests
1 parent 06f50ed commit 42f8ee1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/nextcloud_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver, skip_release_check:
213213
infos = driver.find_elements(By.CSS_SELECTOR, "#postsetupchecks > .info > li")
214214
for info in infos:
215215
if re.match(r'.*Your installation has no default phone region set.*', info.text) \
216-
or re.match(r'The PHP module "imagick" is not enabled', info.text):
216+
or re.match(r'The PHP module "imagick" is not enabled', info.text) \
217+
or re.match(r'The PHP module "imagick" in this instance has no SVG support.*', info.text):
217218
continue
218219
else:
219220
print(f'INFO: {info.text}')

0 commit comments

Comments
 (0)