Skip to content

Instantly share code, notes, and snippets.

View terabytesoftw's full-sized avatar
🎯
Enfoque

Wilmer Arambula terabytesoftw

🎯
Enfoque
View GitHub Profile
@terabytesoftw
terabytesoftw / FormBuilderTest.php
Last active December 13, 2021 12:46
Proposal form.
<?php
declare(strict_types=1);
namespace Yii\Extension\Simple\Forms\Tests;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yii\Extension\Simple\Forms\FormBuilder;
use Yii\Extension\Simple\Forms\Password;
{
"Yiisoft\\Yii\\Debug\\Collector\\LogCollector": [],
"Yiisoft\\Yii\\Debug\\Collector\\EventCollector": [
{
"name": "Yiisoft\\Yii\\Web\\Event\\ApplicationStartup",
"event": "object@Yiisoft\\Yii\\Web\\Event\\ApplicationStartup#300",
"time": 1631219399.655668
},
{
"name": "Yiisoft\\Yii\\Web\\Event\\AfterRequest",
@terabytesoftw
terabytesoftw / gist:7ae1dc2b3bd6b852c4f89e056b323607
Last active December 20, 2022 14:05
Codeception For Tests Yii3.
#Add in your composer codeception tests.
$composer require codeception/codeception:^3.0
#Create your directory /tests in your proyect
$mkdir /tests
#Create codepction systems tests with namespaces
$vendor/bin/codecept bootstrap --namespace AppTests
#Custom options codeception.yml: