Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
p3rryw1nkle committed Apr 3, 2022
1 parent 9535fc7 commit 9305749
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 3 additions & 0 deletions docs/05_building_block_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ The restAPI defines DeDe's API in accordance with REST architecture, which allow
****

////
****
.Level 3
Expand Down Expand Up @@ -167,6 +168,8 @@ The controllers interlink the frontend and the backend
****
////

////
Important Interfaces::
_<Description of important interfaces>_
Expand Down
7 changes: 0 additions & 7 deletions docs/07_deployment_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,3 @@ Utilizing the user's POD following SOLID design principles allows the applicatio
|===
****

=== Level 2
****
.Motivation
The figure above shows the infrastructure and interlinking of each environment involved in DeDe.
****
4 changes: 2 additions & 2 deletions webapp/src/_test_/LogoutButtonComponent.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React from 'react';
import ReactDOM from 'react-dom';
import Router from "react-router-dom";
import { render, screen, cleanup } from '@testing-library/react';
import LogoutButton from '../components/logout/LogoutButtonComponent';
import {LogoutButtonSolid} from '../components/logout/LogoutButtonComponent';

const toggleLoggedIn = () => null;

test("Logout button works correctly", () => {
const testButton = render(<LogoutButton setIsLoggedIn={toggleLoggedIn}/>);
const testButton = render(<LogoutButtonSolid />);
expect(testButton).toBeTruthy();
})

0 comments on commit 9305749

Please sign in to comment.