Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
knowledge-platform
Commits
bfd25602
Commit
bfd25602
authored
3 years ago
by
Kumar Gauraw
Browse files
Options
Download
Patches
Plain Diff
Issue #SB-28680 feat: updated test case
parent
093d4159
s-debug
AmiableAnil-patch-1
Gcloud_copy
Gcloud_fix
Remove_unwantedCode_Gcloud_fix
bulk-upload-comptenecy-mapping
bulk-upload-excelsheet
bulk-upload-test_excel
bulk_upload
csp-migration
dependabot/maven/platform-core/platform-telemetry/ch.qos.logback-logback-core-1.2.9
dependabot/maven/search-api/search-core/org.apache.httpcomponents-httpclient-4.5.13
knowlg-friday
knowlg-oneclick
local-setup-kube
master
patch-1
patch-2
patch-3
poc_bulk_upload
qs-schema
rahul_bulk_upload_postgres
release-4.10.0
release-4.10.1
release-4.8.0
release-4.9.0
release-4.9.1
release-5.0.0
release-5.0.1
release-5.1.0
release-5.1.0-content
release-5.2.0
release-5.3.0
release-5.2.0_RC2
release-5.2.0_RC1
release-5.1.0_RC1
release-5.0.0_RC2
release-5.0.0_RC1
release-4.10.0_RC2
release-4.10.0_RC1
release-4.9.1_RC1
release-4.9.0_RC8
release-4.9.0_RC7
release-4.9.0_RC6
release-4.9.0_RC5
release-4.9.0_RC4
release-4.9.0_RC3
release-4.9.0_RC2
release-4.9.0_RC1
release-4.8.0_RC5
release-4.8.0_RC4
release-4.8.0_RC3
release-4.8.0_RC2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform-modules/import-manager/src/test/scala/org/sunbird/object/importer/ImportManagerTest.scala
+1
-1
...scala/org/sunbird/object/importer/ImportManagerTest.scala
with
1 addition
and
1 deletion
+1
-1
platform-modules/import-manager/src/test/scala/org/sunbird/object/importer/ImportManagerTest.scala
+
1
−
1
View file @
bfd25602
...
...
@@ -22,7 +22,7 @@ class ImportManagerTest extends AsyncFlatSpec with Matchers with AsyncMockFactor
val
REQUIRED_PROPS
=
List
(
"name"
,
"code"
,
"mimeType"
,
"contentType"
,
"artifactUrl"
,
"framework"
)
val
VALID_OBJECT_STAGE
=
List
(
"create"
,
"upload"
,
"review"
,
"publish"
)
val
PROPS_TO_REMOVE
=
List
(
"downloadUrl"
,
"variants"
,
"previewUrl"
,
"streamingUrl"
,
"itemSets"
)
lazy
val
importConfig
=
ImportConfig
(
AUTO_CREATE_TOPIC_NAME
,
REQUEST_LIMIT
,
REQUIRED_PROPS
,
VALID_OBJECT_STAGE
,
PROPS_TO_REMOVE
)
lazy
val
importConfig
=
ImportConfig
(
AUTO_CREATE_TOPIC_NAME
,
REQUEST_LIMIT
,
REQUIRED_PROPS
,
VALID_OBJECT_STAGE
,
PROPS_TO_REMOVE
,
List
()
)
lazy
val
importMgr
=
new
ImportManager
(
importConfig
)
"getRequest with list input"
should
"return request data as list with java types"
in
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets