-
Notifications
You must be signed in to change notification settings - Fork 1
/
coveralls-upload.json
1 lines (1 loc) · 3.87 KB
/
coveralls-upload.json
1
{"repo_token":"DfeSwzDRd1ZBvcv3UkMyXxoVQJdiIzZpR","git":{"branch":"development","head":{"id":"769f55e439a0aea3bb78f12458a4267c3206bdcd","author_name":"Alvaro Farias","author_email":"alvaro.farias@protonmail.com","committer_name":"Alvaro Farias","committer_email":"alvaro.farias@protonmail.com","message":"\ud83d\udc77 update ci build"},"remotes":[{"name":"origin","url":"git@github.com:RentadroneCL\/ui.git"}]},"run_at":"2020-11-03 14:03:13 +0000","source_files":[{"name":"tests\/CreatesApplication.php","source":"<?php\n\nnamespace Tests;\n\nuse Illuminate\\Contracts\\Console\\Kernel;\n\ntrait CreatesApplication\n{\n \/**\n * Creates the application.\n *\n * @return \\Illuminate\\Foundation\\Application\n *\/\n public function createApplication()\n {\n $app = require __DIR__.'\/..\/bootstrap\/app.php';\n\n $app->make(Kernel::class)->bootstrap();\n\n return $app;\n }\n}","coverage":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,5,null,5,null,5,null,null]},{"name":"tests\/Feature\/ProjectTest.php","source":"<?php\n\nnamespace Tests\\Feature;\n\nuse App\\Project;\nuse Tests\\TestCase;\nuse Illuminate\\Foundation\\Testing\\RefreshDatabase;\n\nclass ProjectTest extends TestCase\n{\n use RefreshDatabase;\n\n \/**\n * feature test index page.\n *\n * @return void\n *\/\n public function testProjectIndex()\n {\n $response = $this->get(route('project.index'));\n\n $response->assertViewIs('project.index');\n\n $response->assertViewHas('projects');\n\n $response->assertStatus(200, $response->getStatusCode());\n }\n\n \/**\n * feature test edit page.\n *\n * @return void\n *\/\n public function testProjectCreate()\n {\n $response = $this->get(route('project.create'));\n\n $response->assertViewIs('project.create');\n\n $response->assertStatus(200, $response->getStatusCode());\n }\n\n \/**\n * feature test edit page.\n *\n * @return void\n *\/\n public function testProjectEdit()\n {\n $project = factory(Project::class)->create();\n\n $response = $this->get(route('project.edit', $project));\n\n $response->assertViewIs('project.edit');\n\n $response->assertViewHas('project');\n\n $response->assertStatus(200, $response->getStatusCode());\n }\n\n \/**\n * feature test destroy project.\n *\n * @return void\n *\/\n public function testProjectDestroy()\n {\n $project = factory(Project::class)->create();\n\n $response = $this->delete(route('project.destroy', $project));\n\n $response->assertStatus(200, $response->getStatusCode());\n }\n}","coverage":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,1,null,1,1,null,null,null,null,null,null,null,null,1,null,1,null,1,1,null,null,null,null,null,null,null,null,1,null,1,null,1,null,1,null,1,1,null,null,null,null,null,null,null,null,1,null,1,null,1,1,null]},{"name":"tests\/Feature\/UploadMediaTest.php","source":"<?php\n\nnamespace Tests\\Feature;\n\nuse Tests\\TestCase;\nuse Illuminate\\Http\\UploadedFile;\nuse Illuminate\\Foundation\\Testing\\RefreshDatabase;\n\nclass UploadMediaTest extends TestCase\n{\n use RefreshDatabase;\n\n \/**\n * testing file uploads.\n *\n * @return void\n *\/\n public function testUploadMedia()\n {\n $project = factory(\\App\\Project::class)->create();\n\n $file = UploadedFile::fake()->image('DJI.jpg');\n\n $response = $this->postJson(route('media.upload', $project), ['files' => [$file]]);\n\n $response->assertStatus(200, $response->getStatusCode());\n }\n}","coverage":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,1,null,1,1,null]}],"environment":{"packagist_version":"2.4.1"}}