mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
workaround: pg app installs a poorly encoded db, so skip CI will catch
This commit is contained in:
parent
ae028a5bb1
commit
923c164d54
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,6 @@ describe Search do
|
|||
# stop words should work
|
||||
results = Search.execute('this', search_context: post1.topic)
|
||||
results.posts.length.should == 4
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -361,6 +360,8 @@ describe Search do
|
|||
end
|
||||
|
||||
it 'finds chinese topic based on title' do
|
||||
skip("skipped until pg app installs the db correctly") if RbConfig::CONFIG["arch"] =~ /darwin/
|
||||
|
||||
SiteSetting.default_locale = 'zh_TW'
|
||||
topic = Fabricate(:topic, title: 'My Title Discourse社區指南')
|
||||
post = Fabricate(:post, topic: topic)
|
||||
|
|
Loading…
Reference in a new issue