-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5938731
commit a820a48
Showing
5 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
tests/TestCase/Lib/Annotations/AbstractSchemaPropertyTest.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace SwaggerBake\Test\TestCase\Lib\Annotations; | ||
|
||
use Cake\TestSuite\TestCase; | ||
use SwaggerBake\Lib\Annotation\SwagDtoRequestBody; | ||
|
||
class AbstractSchemaPropertyTest extends TestCase | ||
{ | ||
public function test_construct_invalid_argument_exception(): void | ||
{ | ||
$this->expectException(\InvalidArgumentException::class); | ||
new SwagDtoRequestBody(['']); | ||
} | ||
} |
This file contains 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
This file contains 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
15 changes: 15 additions & 0 deletions
15
tests/TestCase/Lib/Extension/CakeSearch/Annotation/SwagSearchTest.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace SwaggerBake\Test\TestCase\Lib\Extension\CakeSearch\Annotation; | ||
|
||
use Cake\TestSuite\TestCase; | ||
use SwaggerBake\Lib\Extension\CakeSearch\Annotation\SwagSearch; | ||
|
||
class SwagSearchTest extends TestCase | ||
{ | ||
public function test_construct_invalid_argument_exception(): void | ||
{ | ||
$this->expectException(\InvalidArgumentException::class); | ||
new SwagSearch(['']); | ||
} | ||
} |
This file contains 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