mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Search Index: Fixed SQL error when indexing large pages
Due to hitting statement placeholder limits (typically 65k) when inserting index terms for single page. Added test to cover. Also added skipped tests for tests we don't always want to run. For #5322
This commit is contained in:
@ -27,8 +27,10 @@ class LanguageTest extends TestCase
|
||||
}
|
||||
|
||||
// Not part of standard phpunit test runs since we sometimes expect non-added langs.
|
||||
public function do_test_locales_all_have_language_dropdown_entry()
|
||||
public function test_locales_all_have_language_dropdown_entry()
|
||||
{
|
||||
$this->markTestSkipped('Only used when checking language inclusion');
|
||||
|
||||
$dropdownLocales = array_keys(trans('settings.language_select', [], 'en'));
|
||||
sort($dropdownLocales);
|
||||
sort($this->langs);
|
||||
|
Reference in New Issue
Block a user