Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
547c687a
Commit
547c687a
authored
Jan 14, 2016
by
Joris Vercammen
Browse files
Don't pass on the query string to the url
parent
a0ddca3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Tests/IntegrationTest.php
View file @
547c687a
...
...
@@ -197,7 +197,7 @@ class IntegrationTest extends FacetWebTestBase {
$this
->
assertLink
(
'article'
);
$this
->
clickLink
(
'item'
);
$this
->
assertUrl
(
'search-api-test-fulltext
?f[0]=
llama:item'
);
$this
->
assertUrl
(
'search-api-test-fulltext
'
,
[
'query'
=>
[
'f[0]'
=>
'
llama:item'
]]
);
}
/**
...
...
src/Tests/UrlIntegrationTest.php
View file @
547c687a
...
...
@@ -94,7 +94,7 @@ class UrlIntegrationTest extends FacetWebTestBase {
$this
->
assertResponse
(
200
);
$this
->
assertLink
(
'(-) item'
);
$this
->
assertNoLink
(
'article'
);
$this
->
assertUrl
(
'search-api-test-fulltext
?y[0]=
facet||item'
);
$this
->
assertUrl
(
'search-api-test-fulltext
'
,
[
'query'
=>
[
'y[0]'
=>
'
facet||item'
]]
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment