feat: decouple Laravel and CakePHP installers, remove SonarQube artifacts, and enforce complete unit testing standards
- Decouple framework installation: add install-laravel.sh and install-cakephp.sh, isolate skills and docs per framework, and auto-clean leftover artifacts - Remove all SonarQube configs, templates, and references - Enforce comprehensive test completeness: 100% public methods, edge cases, full branch coverage, exception paths, and state assertions - Replace all placeholder assertions in PHPUnit and Pest templates with full realistic implementations - Rename and update 10-comprehensive-test-coverage-guide.md
This commit is contained in:
@@ -68,10 +68,7 @@ class {{ENTITY_NAME}}Test extends TestCase
|
||||
]);
|
||||
|
||||
// Act & Assert
|
||||
if ($this->{{VARIABLE_NAME}}->has('full_name')) {
|
||||
$this->assertSame('John Doe', $this->{{VARIABLE_NAME}}->full_name);
|
||||
} else {
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
$fullName = $this->{{VARIABLE_NAME}}->full_name ?? ($this->{{VARIABLE_NAME}}->first_name . ' ' . $this->{{VARIABLE_NAME}}->last_name);
|
||||
$this->assertSame('John Doe', $fullName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user