mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
This reverts commit c0b277d273
.
This commit is contained in:
parent
1c8b3c9447
commit
c21457d6a7
99 changed files with 384 additions and 394 deletions
|
@ -185,7 +185,7 @@ test('initial category when uncategorized is not allowed', function() {
|
|||
test('open with a quote', function() {
|
||||
const quote = '[quote="neil, post:5, topic:413"]\nSimmer down you two.\n[/quote]';
|
||||
const newComposer = function() {
|
||||
return openComposer({action: Composer.REPLY, draftKey: 'asfd', draftSequence: 1, quote: quote});
|
||||
return openComposer({action: Discourse.Composer.REPLY, draftKey: 'asfd', draftSequence: 1, quote: quote});
|
||||
};
|
||||
|
||||
equal(newComposer().get('originalText'), quote, "originalText is the quote" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue