Files
Fleetbase-Mirror-Repo/console/tests/unit/controllers/console/admin/organizations-test.js
TemuulenBM 6cd0625753 Refactor user model retrieval
This commit refactors the way the user model is retrieved in the
organization-users.js file. Instead of using findAll, it now uses
query to filter users based on the company_id. This change was
necessary to improve the performance of the user retrieval process
and to ensure that only relevant users are returned (#1234).
2024-02-01 18:01:35 +08:00

13 lines
420 B
JavaScript

import { module, test } from 'qunit';
import { setupTest } from '@fleetbase/console/tests/helpers';
module('Unit | Controller | console/admin/organizations', function (hooks) {
setupTest(hooks);
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup('controller:console/admin/organizations');
assert.ok(controller);
});
});