diff --git a/src/controllers/datasetController.js b/src/controllers/datasetController.js index e419df64..3b8c9bcd 100644 --- a/src/controllers/datasetController.js +++ b/src/controllers/datasetController.js @@ -1,6 +1,6 @@ 'use strict' -import PageController from './PageController.js' +import PageController from './pageController.js' // ToDo: we shouldn't hardcode these values here, should we get them from the API // maybe take from specification diff --git a/src/controllers/errorsController.js b/src/controllers/errorsController.js index 982b329a..4859b987 100644 --- a/src/controllers/errorsController.js +++ b/src/controllers/errorsController.js @@ -1,6 +1,6 @@ 'use strict' -import PageController from './PageController.js' +import PageController from './pageController.js' import { severityLevels, dataSubjects } from '../utils/utils.js' diff --git a/src/controllers/PageController.js b/src/controllers/pageController.js similarity index 100% rename from src/controllers/PageController.js rename to src/controllers/pageController.js diff --git a/src/controllers/uploadController.js b/src/controllers/uploadController.js index 49e97c1f..4bf78fec 100644 --- a/src/controllers/uploadController.js +++ b/src/controllers/uploadController.js @@ -3,7 +3,7 @@ import multer from 'multer' import axios from 'axios' import { readFile } from 'fs/promises' import { lookup } from 'mime-types' -import PageController from './PageController.js' +import PageController from './pageController.js' import config from '../../config/index.js' import { severityLevels } from '../utils/utils.js' diff --git a/test/unit/MyController.test.js b/test/unit/MyController.test.js index cce0e233..b8c47809 100644 --- a/test/unit/MyController.test.js +++ b/test/unit/MyController.test.js @@ -1,4 +1,4 @@ -import PageController from '../../src/controllers/PageController.js' +import PageController from '../../src/controllers/pageController.js' import { describe, it, vi, expect } from 'vitest'