Skip to content

Commit

Permalink
chore: fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Sep 3, 2024
1 parent cc1def6 commit 1dd4170
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class TaskTestData : BaseTestData("tagsTestUser", "tagsTestProject") {

translateTask =
addTask {
id = 1
number = 1
name = "Translate task"
type = TaskType.TRANSLATE
assignees =
Expand All @@ -137,7 +137,7 @@ class TaskTestData : BaseTestData("tagsTestUser", "tagsTestProject") {

reviewTask =
addTask {
id = 2
number = 2
name = "Review task"
type = TaskType.REVIEW
assignees =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ describe('Batch jobs permissions 1', () => {
it('translations.batch-machine', () => {
visitProjectWithPermissions({
scopes: ['translations.batch-machine'],
viewLanguageTags: ['en', 'cs'],
translateLanguageTags: ['cs'],
stateChangeLanguageTags: ['en'],
}).then((projectInfo) => {
checkPermissions(projectInfo, {
'project-menu-item-dashboard': RUN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ describe('Batch jobs permissions 2', () => {
it('translations.batch-by-mt', () => {
visitProjectWithPermissions({
scopes: ['translations.batch-by-tm'],
viewLanguageTags: ['en', 'cs'],
translateLanguageTags: ['cs'],
stateChangeLanguageTags: ['en'],
}).then((projectInfo) => {
checkPermissions(projectInfo, {
'project-menu-item-dashboard': RUN,
Expand Down

0 comments on commit 1dd4170

Please sign in to comment.