fix: 🐛 Fix failing tests from rebase onto main (#2045)

This commit is contained in:
Zhihe Li committed 2024-01-16 10:17:46 -05:00
1 parent f801f595f7
commit 15da4ea69f
2 files changed
+6 -5

No files matched your search

@@ -107,7 +107,9 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle
const { session_id, address, port, credentials, expiration } =
connectionDetails;
try {
session = await this.store.findRecord('session', session_id);
session = await this.store.findRecord('session', session_id, {
reload: true,
});
} catch (error) {
/**
* if the user cannot read or fetch the session we add the important
@@ -126,11 +126,10 @@ module('Acceptance | projects | targets | target', function (hooks) {
this.ipcStub.withArgs('isClientDaemonRunning').returns(true);
this.stubClientDaemonSearch(
'targets',
'sessions',
'sessions',
'sessions',
'targets',
'targets',
'sessions',
'sessions',
'sessions',
);
});