Skip to content

Commit

Permalink
code formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skie committed Jan 28, 2016
1 parent 296f698 commit 209cdd7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/Cake/Test/Case/Model/ModelWriteTest.php
Expand Up @@ -270,7 +270,6 @@ public function testAutoSaveUuid() {
$this->assertEquals(36, strlen($result['Uuid']['id']));
}


/**
* testAutoSaveUuidNative method
*
Expand All @@ -291,7 +290,6 @@ public function testAutoSaveUuidNative() {
$this->assertEquals(36, strlen($result['UuidNative']['id']));
}


/**
* Ensure that if the id key is null but present the save doesn't fail (with an
* x sql error: "Column id specified twice")
Expand Down Expand Up @@ -323,8 +321,8 @@ public function testSaveUuidNull() {
public function testSaveUuidNullNative() {
$this->skipIf(!($this->db instanceof Postgres), 'This test is compatible with Postgres only.');

$this->loadFixtures('UuidNative');
$TestModel = new UuidNative();
$this->loadFixtures('UuidNative');
$TestModel = new UuidNative();

$TestModel->save(array('title' => 'Test record', 'id' => null));
$result = $TestModel->findByTitle('Test record');
Expand Down

0 comments on commit 209cdd7

Please sign in to comment.