feat: remove Learning module

This commit is contained in:
inman committed 2026-09-04 12:14:53 +08:00
1 parent bdc290c2cf
commit bd0873f348
39 files changed
+104 -2278

No files matched your search

+1 -2
View File
@@ -115,10 +115,10 @@ describe('auth host api routes', () => {
moduleAccess: {
programming: false,
design: true,
learning: false,
robot: true,
},
});
expect(response.json()).not.toHaveProperty('moduleAccess.learning');
expect(JSON.stringify(response.json())).not.toContain('must-not-reach-renderer');
expect(fetchMock).toHaveBeenCalledWith(
'https://square.nianxx.cn/api/auth/me',
@@ -161,7 +161,6 @@ describe('auth host api routes', () => {
moduleAccess: {
programming: true,
design: true,
learning: true,
robot: true,
},
});