title: Codeception POST error with Propel
body: <p>I have an error where i make a POST request using codeception, and I get an sql exception saying I cant insert. But if I try the same POST request on Postman it works wonderfully. This project is using propel as an ORM. Here is my api.suite.yml file:</p>
  
  <p><code>
  class_name: ApiTester
  modules:
      enabled:
          - \Helper\Api
          - Asserts
          - Laravel5
          - Db
          - REST:
              url: http://localhost:8000/
              depends: Laravel5
      config:
          Laravel5:
              environment_file: .env.testing
  </code></p>
  
  <p>and here is my snippet of code in question:</p>
  
  <pre><code>public function crearActividad(ApiTester $I) {
  $I-&gt;wantTo('Crear un recurso actividad y verificar que lo obtenemos');
  $I-&gt;amBearerAuthenticated($this-&gt;token);
  $I-&gt;sendPOST($this-&gt;url, [
      'CodProceso' =&gt; 1,
      'Nombre'     =&gt; 'Actividad Nueva Nueva',
  ]);
  $this-&gt;logResponse($I);
  $this-&gt;checkResponseCode($I, HttpCode::CREATED);
  $I-&gt;seeResponseIsJson();
  $I-&gt;seeResponseContainsJson(array(
      'estado' =&gt; true,
      'codigo' =&gt; config('constants.ESTADOS_PROCESOS.OK'),
      'Actividades' =&gt; [[
          'CodProceso' =&gt; 1,
          'Nombre'     =&gt; 'Actividad Nueva Nueva',
       ]],
    ));
  }
  </code></pre>
  
  <p>The error im getting is this:</p>
  
  <p>Unable to execute INSERT statement [INSERT INTO app.actividad (cod_actividad, nombre, cod_pr
    oceso) VALUES (:p0, :p1, :p2)]</p>