🔍 Testing Multi-Tenancy Scopes ════════════════════════════════════════════════════════════ 1️⃣ Without Authentication (should return 0): Students: 666 Courses: 0 Groups: 0 2️⃣ As Super Admin (tenant_id = null) - should see ALL: 👤 Logged in as: المدير العام 📊 tenant_id: NULL 📚 Students: 666 📚 Courses: 18 📚 Groups: 94 📚 Enrollments: 694 3️⃣ As Branch User (with tenant_id) - should see ONLY their branch: 👤 Logged in as: مدير الفرع الرئيسي 📊 tenant_id: 1 🏢 Branch: الفرع الرئيسي 📚 Students: 666 📚 Courses: 18 📚 Groups: 94 📚 Enrollments: 694 ✅ All students belong to same tenant: YES 4️⃣ Without Global Scopes (should see ALL): Students: 666 Courses: 37 Groups: 106 5️⃣ Data per Branch: 🏢 الفرع الرئيسي: Students: 666 Courses: 37 Groups: 106 🏢 فرع دمنهور: Students: 0 Courses: 0 Groups: 0 ✅ Multi-Tenancy Test Complete!