create(); $table = factory(AppNotes::class)->create([ 'USR_UID' => $user->USR_UID ]); // Force commit for propel DB::commit(); $result = PMFGetCaseNotes($table->APP_UID, 'array'); $this->assertNotEmpty($result); $result = PMFGetCaseNotes($table->APP_UID, 'object'); $this->assertNotEmpty($result); $result = PMFGetCaseNotes($table->APP_UID, 'string'); $this->assertNotEmpty($result); } }