Skip to content

Commit 406a19d

Browse files
committed
Add gpl licenceKey to tests
1 parent 06b7760 commit 406a19d

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## Reporting a Vulnerability
44

5-
For details on how to report security issues to Tiny, refer to the [Reporting TinyMCE security issues documentation](https://www.tiny.cloud/docs/tinymce/6/security/#reportingtinymcesecurityissues).
5+
For details on how to report security issues to Tiny, refer to the [Reporting TinyMCE security issues documentation](https://www.tiny.cloud/docs/tinymce/latest/security/#reportingtinymcesecurityissues).

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262
"rimraf": "^6.0.1",
6363
"rxjs": "^7.8.1",
6464
"storybook": "^8.2.5",
65-
"tinymce": "^7",
65+
"tinymce": "^8.0.0",
6666
"tinymce-4": "npm:tinymce@^4",
6767
"tinymce-5": "npm:tinymce@^5",
6868
"tinymce-6": "npm:tinymce@^6",
6969
"tinymce-7": "npm:tinymce@^7",
7070
"tinymce-7.5.0": "npm:[email protected]",
71-
"tinymce-8": "npm:tinymce@^7",
71+
"tinymce-8": "npm:tinymce@^8",
7272
"to-string-loader": "^1.1.5",
7373
"tslib": "^2.6.2",
7474
"typescript": "~5.5.4",

tinymce-angular-component/src/test/ts/alien/TestHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const editorHook = <T = unknown>(component: Type<T>, moduleDef: TestModul
6262
.map((v): EditorComponent => v.componentInstance)
6363
.getOrDie('EditorComponent instance not found');
6464

65-
for (const [ key, value ] of Object.entries(props)) {
65+
for (const [ key, value ] of Object.entries({ ...props, licenseKey: 'gpl' })) {
6666
(editorComponent as any)[key] = value;
6767
}
6868

tinymce-angular-component/src/test/ts/browser/DisabledPropertyTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('DisabledPropertyTest', () => {
8888
});
8989

9090
it(`Toggling component's 'disabled' property is mapped to editor 'disabled' option`, async () => {
91-
const fixture = await createFixture();
91+
const fixture = await createFixture({});
9292
const { editor } = fixture;
9393

9494
assertDesignMode(editor);

tinymce-angular-component/src/test/ts/browser/FormControlTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('FormControlTest', () => {
5959
imports: [ EditorComponent, ReactiveFormsModule ],
6060
template: `
6161
<form [formGroup]="form">
62-
<editor formControlName="editor" />
62+
<editor formControlName="editor" licenseKey="gpl" />
6363
<button #resetBtn type="reset">Reset form</button>
6464
<button #submitBtn [disabled]="form.invalid" type="submit">Submit form</button>
6565
</form>

tinymce-angular-component/src/test/ts/browser/LoadTinyTest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('LoadTinyTest', () => {
1616
Assertions.assertEq(`Loaded version of TinyMCE should be ${version}`, version, Global.tinymce.majorVersion);
1717
};
1818

19-
for (const version of [ '4', '5', '6', '7' ] as Version[]) {
19+
for (const version of [ '4', '5', '6', '7', '8' ] as Version[]) {
2020
context(`With local version ${version}`, () => {
2121
const createFixture = editorHook(EditorComponent, {
2222
providers: [
@@ -29,7 +29,7 @@ describe('LoadTinyTest', () => {
2929

3030
before(deleteTinymce);
3131

32-
it('Should be able to load local version of TinyMCE specified via depdendency injection', async () => {
32+
it('Should be able to load local version of TinyMCE specified via dependency injection', async () => {
3333
const { editor } = await createFixture();
3434
assertTinymceVersion(version, editor);
3535
});
@@ -46,7 +46,7 @@ describe('LoadTinyTest', () => {
4646
});
4747
}
4848

49-
for (const version of [ '5', '6', '7' ] as Version[]) {
49+
for (const version of [ '5', '6', '7', '8' ] as Version[]) {
5050
context(`With cloud version ${version}`, () => {
5151
const createFixture = editorHook(EditorComponent);
5252

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13092,15 +13092,15 @@ tiny-invariant@^1.3.1, tiny-invariant@^1.3.3:
1309213092
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.8.0.tgz#d57a597aecdc2108f2dd68fe74c6099c0a0ef66f"
1309313093
integrity sha512-MUER5MWV9mkOB4expgbWknh/C5ZJvOXQlMVSx4tJxTuYtcUCDB6bMZ34fWNOIc8LvrnXmGHGj0eGQuxjQyRgrA==
1309413094

13095-
"tinymce-8@npm:tinymce@^7":
13096-
version "7.9.1"
13097-
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.9.1.tgz#1b18bad9cb7a3b4b12e3e5a7f29fc7daad0713d7"
13098-
integrity sha512-zaOHwmiP1EqTeLRXAvVriDb00JYnfEjWGPdKEuac7MiZJ5aiDMZ4Unc98Gmajn+PBljOmO1GKV6G0KwWn3+k8A==
13095+
"tinymce-8@npm:tinymce@^8":
13096+
version "8.0.0"
13097+
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-8.0.0.tgz#e6abd6bd31a2972f0a514462c281d4f7b2dae50e"
13098+
integrity sha512-E1OwCXXCzmZLx6sQVeMHdb61Hsp+7AxWtYstXp7Yw59Et4AdHQ0N36n7InVaYDmq2aBlCM8qkTQYKEqKgecP3A==
1309913099

13100-
tinymce@^7:
13101-
version "7.2.1"
13102-
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.2.1.tgz#9b4f6b5a0fa647e2953c174ac69aa47483683332"
13103-
integrity sha512-ADd1cvdIuq6NWyii0ZOZRuu+9sHIdQfcRNWBcBps2K8vy7OjlRkX6iw7zz1WlL9kY4z4L1DvIP+xOrVX/46aHA==
13100+
tinymce@^8.0.0:
13101+
version "8.0.0"
13102+
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-8.0.0.tgz#e6abd6bd31a2972f0a514462c281d4f7b2dae50e"
13103+
integrity sha512-E1OwCXXCzmZLx6sQVeMHdb61Hsp+7AxWtYstXp7Yw59Et4AdHQ0N36n7InVaYDmq2aBlCM8qkTQYKEqKgecP3A==
1310413104

1310513105
tinyspy@^2.2.0:
1310613106
version "2.2.1"

0 commit comments

Comments
 (0)