I hereby claim:
- I am kalifg on github.
- I am kalifg (https://keybase.io/kalifg) on keybase.
- I have a public key ASAESi8fmK5ZHKJ6mQKtTty77uTpqRkX1QwNkQ165vQtYgo
To claim this, I am signing this object:
HOMEBREW_VERSION: 0.9.2 | |
HEAD: 64edb639151161b7d0ea70f7f84871e68acc9a4c | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: 8-core 64-bit sandybridge | |
OS X: 10.7.4-x86_64 | |
Xcode: 4.3.3 | |
CLT: 4.3.0.0.1.1249367152 | |
GCC-4.0: N/A | |
GCC-4.2: N/A |
protected function loginAs(User $user) | |
{ | |
$qCodoUser = \User::Load($user->getUserId(), true); | |
\UserSecurity::Login($qCodoUser, false); | |
$this->user = $user; | |
} | |
protected function loginAsUsername($username) | |
{ |
<?php | |
namespace Chess\ChessBundle\Test; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase as BaseWebTestCase; | |
use Chess\UserBundle\Entity\User; | |
class WebTestCase extends BaseWebTestCase | |
{ | |
protected $client; |
imports: | |
- resource: config_test.yml | |
- resource: ../../config/doctrine/doctrine_test_local.yml | |
framework: | |
test: ~ | |
session: | |
storage_id: session.storage.mock_file | |
# If you need to load local routings | |
router: { resource: "%kernel.root_dir%/../config/routing/routing_test_local.yml" } |
imports: | |
- resource: doctrine.yml | |
doctrine: | |
dbal: | |
default_connection: default | |
connections: | |
default: | |
driver: pdo_mysql | |
host: 10.10.10.10 |
_dev: | |
resource: routing_v3.yml |
imports: | |
- resource: config_dev.yml | |
- resource: ../../config/doctrine/doctrine_dev_local.yml | |
framework: | |
test: ~ | |
session: | |
storage_id: session.storage.mock_file | |
# If you need to load local routings | |
router: { resource: "%kernel.root_dir%/../config/routing/routing_dev_local.yml" } |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html --> | |
<phpunit | |
backupGlobals = "false" | |
backupStaticAttributes = "false" | |
colors = "true" | |
convertErrorsToExceptions = "true" | |
convertNoticesToExceptions = "true" | |
convertWarningsToExceptions = "true" |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object: