feat: Frontend — Domain Validation Check Tool#1054
Open
apidong wants to merge 1 commit into
Open
Conversation
- Add DomainCheckController with API integration - Add domain check view with interactive UI - Add route GET/POST /pengaturan/domain-check - Add menu item in sidebar under Pengaturan - Add unit tests for DomainCheckController Closes #1053
|
🔄 AI PR Review sedang antri di server...
|
pandigresik
reviewed
Jun 8, 2026
|
|
||
| class DomainCheckControllerTest extends TestCase | ||
| { | ||
| use RefreshDatabase; |
Contributor
There was a problem hiding this comment.
gunakan saja DatabaseTransactions, seperti pada test yang lain. Jangan RefreshDatabase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deskripsi
Halaman diagnostik untuk mengecek domain apa yang terbaca oleh API Database Gabungan. Ini sangat membantu troubleshooting ketika dropdown Kabupaten/Kecamatan kosong atau error "Domain tidak diizinkan".
Perubahan
File Baru
app/Http/Controllers/DomainCheckController.php— Controller untuk domain checkresources/views/admin/pengaturan/domain-check/index.blade.php— View halamantests/Feature/DomainCheckControllerTest.php— Unit testsFile Diubah
routes/web.php— Tambah routeGET/POST /pengaturan/domain-checkconfig/adminlte.php— Tambah menu sidebar "Cek Domain API"Fitur
Halaman Domain Check
/pengaturan/domain-checkTampilan
API Integration
GET /api/v1/debug/domain-checkdari API Database Gabungandatabase_gabungan_api_keySecurity
authmiddlewareauth()->check()Testing
Unit Tests
8 test cases:
Dependensi
GET /api/v1/debug/domain-check(PR: API-Database-Gabungan#416)Closes #1053