Update for recent version of Mojolicious
Change-Id: I176b60f209ea16588e425a0ebfa398747cb42f5c
diff --git a/t/settings.t b/t/settings.t
index 9eb0655..c3fb722 100644
--- a/t/settings.t
+++ b/t/settings.t
@@ -32,12 +32,12 @@
});
$t->get_ok('/settings')
- ->text_is('a[href~/settings/oauth]','OAuth Token Management')
+ ->text_is('a[href*=/settings/oauth]','OAuth Token Management')
->text_is('h1 span', 'Settings')
;
$t->get_ok('/settings/oauth')
- ->text_is('a[href~/settings/oauth]','OAuth Token Management')
+ ->text_is('a[href*=/settings/oauth]','OAuth Token Management')
->text_is('h1 span', 'Settings')
->text_is('p#abc', 'My Settings')
;