Skip to content

Commit

Permalink
DBZ-5326: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
indraraj committed Jul 31, 2023
1 parent 0a46037 commit 1da3aa8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en'
ENV JAVA_HOME="/usr/lib/jvm/jre-11"
ENV NPM_CONFIG_CACHE="/.cache/npm"

RUN microdnf install ca-certificates ${JAVA_PACKAGE} java-11-openjdk-devel git \
RUN microdnf install ca-certificates ${JAVA_PACKAGE} java-11-openjdk-devel tzdata-java git \
&& microdnf update \
&& microdnf clean all \
&& mkdir -p /javabuild/backend \
Expand Down Expand Up @@ -46,7 +46,7 @@ ENV JAVA_HOME="/usr/lib/jvm/jre-11"

# Install java and the run-java script
# Also set up permissions for user `1001`
RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} tzdata-java \
&& microdnf update \
&& microdnf clean all \
&& mkdir /deployments \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {
IConnectorcOverviewProps,
ConnectorOverview,
} from '../../../src/app/pages/connectors/ConnectorOverview';
ConnectorExpandView,
} from '../../../src/app/pages/connectors/ConnectorExpandView';
import { render, screen } from '@testing-library/react';
import React from 'react';

describe('<ConnectorOverview />', () => {
const renderSetup = (props: IConnectorcOverviewProps) => {
return render(<ConnectorOverview {...props} />);
return render(<ConnectorExpandView {...props} />);
};

it('should render ConnectorOverview', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const ConnectorDrawerPanelContent: FunctionComponent<
.then((cConnector) => {
setLoading(false);
setConnector(cConnector);
console.log(cConnector);
})
.catch((err: React.SetStateAction<Error>) => {
setApiError(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export const ConnectorsTableComponent: React.FunctionComponent<
name: connector.connName,
taskStates: {},
});
console.log(connector);
} else {
setCurrentAction(action);
setCurrentActionConnector(connName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const FormSubmit: React.FunctionComponent<any> = React.forwardRef(
export const PropertiesStep: React.FC<any> = React.forwardRef((props, ref) => {
const basicValidationSchema = {};

console.log('PropertiesStep props', props.basicPropertyDefinitions);

const namePropertyDefinitions = formatPropertyDefinitions(
props.basicPropertyDefinitions.filter(
(defn: any) => defn.category === PropertyCategory.CONNECTOR_NAME
Expand Down

0 comments on commit 1da3aa8

Please sign in to comment.