File tree Expand file tree Collapse file tree
lib/public/views/Subsystems Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class SubsystemModel extends Observable {
6363 /**
6464 * Fetches all Subsystems.
6565 *
66- * @returns {undefined }
66+ * @returns {Promise }
6767 */
6868 async fetchAllSubsystems ( ) {
6969 if ( this . getSubsystems ( ) . isSuccess ( ) ) {
@@ -90,7 +90,7 @@ class SubsystemModel extends Observable {
9090 * Fetches the Subsystems data.
9191 *
9292 * @param {* } subsystemId Id of the subsystem.
93- * @returns {undefined }
93+ * @returns {Promise }
9494 */
9595 async fetchOneSubsystem ( subsystemId ) {
9696 if ( this . getSubsystem ( ) . isSuccess ( ) ) {
@@ -117,7 +117,7 @@ class SubsystemModel extends Observable {
117117 * Fetches the logs with provided subsystem.
118118 *
119119 * @param {* } subsystemId Id of the subsystem.
120- * @returns {undefined }
120+ * @returns {Promise }
121121 */
122122 async fetchLogsOfSubsystem ( subsystemId ) {
123123 if ( this . getLogsOfSubsystem ( ) . isSuccess ( ) ) {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ module.exports = () => {
6767 } ) ;
6868
6969 it ( 'subsystem detail loads correctly' , async ( ) => {
70- await page . goto ( `${ url } /?page=subsystems &id=1` ) ;
70+ await page . goto ( `${ url } /?page=subsystem &id=1` ) ;
7171 await page . waitFor ( 100 ) ;
7272
7373 const postExists = await page . $ ( 'h2' ) ;
You can’t perform that action at this time.
0 commit comments