From bdd8e28f1bfb1451d45ed88aa53794a9ad65e294 Mon Sep 17 00:00:00 2001 From: Benoit Verhaeghe Date: Fri, 14 Jun 2024 15:23:55 +0200 Subject: [PATCH] kill endpoint that can be test --- .../GLHModelImporterTest.class.st | 6 ------ .../GLHModelImporterTestResource.class.st | 3 +-- src/GitLabHealth-Model-Importer/GLHModelImporter.class.st | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTest.class.st b/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTest.class.st index d068afc..513779b 100644 --- a/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTest.class.st +++ b/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTest.class.st @@ -45,9 +45,3 @@ GLHModelImporterTest >> testImportProject [ ((self model allWithType: GLHProject) anySatisfy: [ :project | project id = 57841283 ]) ] - -{ #category : #tests } -GLHModelImporterTest >> testImportedUsers [ - - self assert: (self model allWithType: GLHUser) isNotEmpty. -] diff --git a/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTestResource.class.st b/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTestResource.class.st index 289f59c..6b64f9d 100644 --- a/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTestResource.class.st +++ b/src/GitLabHealth-Model-Importer-Tests/GLHModelImporterTestResource.class.st @@ -21,11 +21,10 @@ GLHModelImporterTestResource >> importModel [ since := Date today - 2 day. - glhImporter := GLPHModelImporter new + glhImporter := GLHModelImporter new glhApi: glphApi; glhModel: model; withFiles: false; - withCommitsSince: 0 day; withCommitDiffs: true. glhImporter importGroup: 87194534 diff --git a/src/GitLabHealth-Model-Importer/GLHModelImporter.class.st b/src/GitLabHealth-Model-Importer/GLHModelImporter.class.st index 2e3d32a..e040535 100644 --- a/src/GitLabHealth-Model-Importer/GLHModelImporter.class.st +++ b/src/GitLabHealth-Model-Importer/GLHModelImporter.class.st @@ -76,7 +76,6 @@ GLHModelImporter >> blockOnNameEquality [ { #category : #'private - api' } GLHModelImporter >> completeImportProject: aGLHProject [ - ('Complete import of project: ' , aGLHProject id printString) recordInfo.