| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TestCase extends \PHPUnit\Framework\TestCase |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var DynamoDbAdapter The DynamoDb adapter. |
||
| 11 | */ |
||
| 12 | protected $adapter; |
||
| 13 | |||
| 14 | protected function setUp(): void |
||
| 15 | { |
||
| 16 | $this->adapter = new DynamoDbAdapter(); |
||
| 17 | $tables = $this->adapter->listTables(); |
||
| 18 | foreach ($tables as $table) { |
||
| 19 | $this->adapter->useTable($table)->deleteTable(); |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function tearDown(): void |
||
| 28 | } |
||
| 29 | } |
||
| 31 |