Skip to content

Commit e79b9a7

Browse files
committed
fix: update import paths for OAuth routes to reflect new directory structure
1 parent 3235ec1 commit e79b9a7

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎radius-proxy/tests/integration/end-to-end-flow.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// End-to-End Integration Flow Tests
22
// Nyaa~ Testing the complete RADIUS auth -> OAuth -> JWT flow like a purr-fect choreographed dance! 😺💕
33

4-
import { POST as authorizePost } from '@/app/radius_login/api/oauth/authorize/route';
5-
import { POST as tokenPost } from '@/app/radius_login/api/oauth/token/route';
6-
import { GET as userinfoGet } from '@/app/radius_login/api/oauth/userinfo/route';
4+
import { POST as authorizePost } from '@/app/api/oauth/authorize/route';
5+
import { POST as tokenPost } from '@/app/api/oauth/token/route';
6+
import { GET as userinfoGet } from '@/app/api/oauth/userinfo/route';
77
import { radiusAuthenticate } from '@/lib/radius';
88
import { getStorage, cleanupExpiredCodes } from '@/lib/storage';
99
import { verifyToken } from '@/lib/jwt';

‎radius-proxy/tests/oauth/authorization-code-flow.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// OAuth2 RFC 6749 Authorization Code Flow Compliance Tests
22
// Nyaa~ Testing that our OAuth2 implementation is purr-fectly compliant with RFC 6749! 😺💕
33

4-
import { POST as authorizePost, GET as authorizeGet } from '@/app/radius_login/api/oauth/authorize/route';
5-
import { POST as tokenPost } from '@/app/radius_login/api/oauth/token/route';
4+
import { POST as authorizePost, GET as authorizeGet } from '@/app/api/oauth/authorize/route';
5+
import { POST as tokenPost } from '@/app/api/oauth/token/route';
66
import { radiusAuthenticate } from '@/lib/radius';
77
import { getStorage, cleanupExpiredCodes } from '@/lib/storage';
88
import { _invalidateConfigCache } from '@/lib/config';

‎radius-proxy/tests/security/authentication-security.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Security Compliance Tests
22
// Nyaa~ Testing security protections like a vigilant maid guarding the master's precious data! 😺🔒💕
33

4-
import { POST as authorizePost } from '@/app/radius_login/api/oauth/authorize/route';
5-
import { POST as tokenPost } from '@/app/radius_login/api/oauth/token/route';
6-
import { GET as userinfoGet } from '@/app/radius_login/api/oauth/userinfo/route';
4+
import { POST as authorizePost } from '@/app/api/oauth/authorize/route';
5+
import { POST as tokenPost } from '@/app/api/oauth/token/route';
6+
import { GET as userinfoGet } from '@/app/api/oauth/userinfo/route';
77
import { radiusAuthenticate } from '@/lib/radius';
88
import { getStorage, cleanupExpiredCodes } from '@/lib/storage';
99
import { signToken, verifyToken } from '@/lib/jwt';

0 commit comments

Comments
 (0)