Skip to content

Commit 3d45422

Browse files
Merge branch 'release-5.21'
2 parents 49b9d88 + 86e20f5 commit 3d45422

76 files changed

Lines changed: 4890 additions & 4113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wise",
3-
"version": "5.20.5",
3+
"version": "5.21.0",
44
"description": "Web-based Inquiry Science Environment",
55
"main": "app.js",
66
"browserslist": [

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<artifactId>wise</artifactId>
3535
<packaging>war</packaging>
3636
<name>Web-based Inquiry Science Environment</name>
37-
<version>5.20.5</version>
37+
<version>5.21.0</version>
3838
<url>http://wise5.org</url>
3939
<licenses>
4040
<license>

src/main/resources/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.20.5
1+
5.21.0

src/main/webapp/site/src/app/services/discussionService.spec.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ describe('DiscussionService', () => {
3636
service = TestBed.get(DiscussionService);
3737
configService = TestBed.get(ConfigService);
3838
studentDataService = TestBed.get(StudentDataService);
39-
spyOn(service, 'getTranslation').and.callFake((key: string) => {
40-
if (key === 'ENTER_PROMPT_HERE') {
41-
return 'Enter prompt here';
42-
}
43-
});
4439
});
4540
createComponent();
4641
isCompleted();
@@ -92,7 +87,7 @@ function createComponent() {
9287
it('should create a discussion component', () => {
9388
const component = service.createComponent();
9489
expect(component.type).toEqual('Discussion');
95-
expect(component.prompt).toEqual('Enter prompt here');
90+
expect(component.prompt).toEqual('');
9691
expect(component.isStudentAttachmentEnabled).toEqual(true);
9792
expect(component.gateClassmateResponses).toEqual(true);
9893
});

0 commit comments

Comments
 (0)