Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 60ecd71

Browse files
author
Vikas Agarwal
committed
Github issue#1175, Create projects as Draft
— Fixing more unit tests
1 parent bf685b2 commit 60ecd71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/app.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ describe('app', () => {
262262
sendTestEvent(sampleEvents.updatedInReview, 'project.updated');
263263
setTimeout(() => {
264264
assertCount += 1;
265-
const expectedTitle = 'Your project is being reviewed. Provide additional info if you have it.';
266-
const expectedBody = 'Hello, Coder here! Thanks for submitting your project <a href="https://connect.topcoder-dev.com/projects/1/" rel="nofollow">test</a>! I\'ve used my super computational powers to route it to one of our trusty humans. They\'ll get back to you in 1-2 business days. Meanwhile, if have any additional project information or documents to upload, please head over to the <a href="https://connect.topcoder-dev.com/projects/1/specification/" rel="nofollow">Specification</a> section. Get stuck or need help? Email us at <a href="mailto:support@topcoder.com?subject=Question%20Regarding%20My%20New%20Topcoder%20Connect%20Project" rel="nofollow">support@topcoder.com</a>.';
265+
const expectedTitle = 'Your project has been submitted for review';
266+
const expectedBody = 'Hello, it\'s Coder again. Thanks for submitting your project <a href="https://connect.topcoder-dev.com/projects/1/" rel="nofollow">test</a>! I\'ve used my super computational powers to route it to one of our trusty humans. They\'ll get back to you in 1-2 business days.';
267267
let params = spy.lastCall.args;
268268
assert.equal(params[2], expectedTitle);
269269
assert.equal(params[3], expectedBody);

0 commit comments

Comments
 (0)