Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-10-30 12:15:11 +0000
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
0f2eaccb390af1a355a5e8ac3d1f2c87b83fed4e
0f2eaccb
1 parent
b251671e
Added quick test to cover hypen breakage
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
tests/Entity/EntitySearchTest.php
tests/Entity/EntitySearchTest.php
View file @
0f2eacc
...
...
@@ -91,6 +91,12 @@ class EntitySearchTest extends TestCase
->
see
(
'Book Search Results'
)
->
see
(
'.entity-list'
,
$book
->
name
);
}
public
function
test_searching_hypen_doesnt_break
()
{
$this
->
visit
(
'/search/all?term=cat+-'
)
->
seeStatusCode
(
200
);
}
public
function
test_ajax_entity_search
()
{
$page
=
\BookStack\Page
::
all
()
->
last
();
...
...
Please
register
or
sign in
to post a comment