Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Backend tests
  • Loading branch information
NaysKutzu committed Nov 23, 2024
1 parent 73b7460 commit cf26597
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.php-cs-fixer.cache
.phpunit.result.cache
10 changes: 10 additions & 0 deletions backend/tests/HelloWorldTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
use PHPUnit\Framework\TestCase;

class HelloWorldTest extends TestCase
{
public function testHelloWorld()
{
$this->assertEquals('Hello, World!', 'Hello, World!');
}
}
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ services:

frontend:
build:
context: ./dockerfiles/frontend
context: .
dockerfile: ./dockerfiles/frontend
volumes:
- ./:/var/www/
restart: unless-stopped
Expand Down
2 changes: 0 additions & 2 deletions dockerfiles/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM node:20-alpine

WORKDIR /var/www/

COPY . /var/www

RUN ls /var/www/

RUN yarn install
Expand Down

0 comments on commit cf26597

Please sign in to comment.