CEC-2608: Changed warn to warning (#209)

Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
This commit is contained in:
Alexander Andrews
2022-10-03 13:44:59 -04:00
committed by GitHub
parent 84fbf57daa
commit 9b80853784
14 changed files with 21 additions and 21 deletions

View File

@@ -6015,7 +6015,7 @@ exports[`App Route /vehicle-add authenticated 1`] = `
class="PrivateSwitchBase-input-0" class="PrivateSwitchBase-input-0"
name="log-level-group" name="log-level-group"
type="radio" type="radio"
value="warn" value="warning"
/> />
<div <div
class="PrivateRadioButtonIcon-root-0" class="PrivateRadioButtonIcon-root-0"
@@ -6049,7 +6049,7 @@ exports[`App Route /vehicle-add authenticated 1`] = `
<span <span
class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1" class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
> >
Warn Warning
</span> </span>
</label> </label>
<label <label

View File

@@ -388,7 +388,7 @@ exports[`VehicleAddForm Render 1`] = `
class="PrivateSwitchBase-input-0" class="PrivateSwitchBase-input-0"
name="log-level-group" name="log-level-group"
type="radio" type="radio"
value="warn" value="warning"
/> />
<div <div
class="PrivateRadioButtonIcon-root-0" class="PrivateRadioButtonIcon-root-0"
@@ -422,7 +422,7 @@ exports[`VehicleAddForm Render 1`] = `
<span <span
class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1" class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
> >
Warn Warning
</span> </span>
</label> </label>
<label <label

View File

@@ -180,7 +180,7 @@ const MainForm = () => {
<FormControlLabel value="trace" control={<Radio />} label="Trace" /> <FormControlLabel value="trace" control={<Radio />} label="Trace" />
<FormControlLabel value="debug" control={<Radio />} label="Debug" /> <FormControlLabel value="debug" control={<Radio />} label="Debug" />
<FormControlLabel value="info" control={<Radio />} label="Info" /> <FormControlLabel value="info" control={<Radio />} label="Info" />
<FormControlLabel value="warn" control={<Radio />} label="Warn" /> <FormControlLabel value="warning" control={<Radio />} label="Warning" />
<FormControlLabel value="error" control={<Radio />} label="Error" /> <FormControlLabel value="error" control={<Radio />} label="Error" />
<FormControlLabel value="critical" control={<Radio />} label="Critical" /> <FormControlLabel value="critical" control={<Radio />} label="Critical" />
</RadioGroup> </RadioGroup>

View File

@@ -390,7 +390,7 @@ exports[`VehicleUpdate Render 1`] = `
class="PrivateSwitchBase-input-0" class="PrivateSwitchBase-input-0"
name="log-level-group" name="log-level-group"
type="radio" type="radio"
value="warn" value="warning"
/> />
<div <div
class="PrivateRadioButtonIcon-root-0" class="PrivateRadioButtonIcon-root-0"
@@ -424,7 +424,7 @@ exports[`VehicleUpdate Render 1`] = `
<span <span
class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1" class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
> >
Warn Warning
</span> </span>
</label> </label>
<label <label

View File

@@ -208,7 +208,7 @@ const MainForm = () => {
<FormControlLabel value="trace" control={<Radio />} label="Trace" /> <FormControlLabel value="trace" control={<Radio />} label="Trace" />
<FormControlLabel value="debug" control={<Radio />} label="Debug" /> <FormControlLabel value="debug" control={<Radio />} label="Debug" />
<FormControlLabel value="info" control={<Radio />} label="Info" /> <FormControlLabel value="info" control={<Radio />} label="Info" />
<FormControlLabel value="warn" control={<Radio />} label="Warn" /> <FormControlLabel value="warning" control={<Radio />} label="Warning" />
<FormControlLabel value="error" control={<Radio />} label="Error" /> <FormControlLabel value="error" control={<Radio />} label="Error" />
<FormControlLabel value="critical" control={<Radio />} label="Critical" /> <FormControlLabel value="critical" control={<Radio />} label="Critical" />
</RadioGroup> </RadioGroup>

View File

@@ -139,7 +139,7 @@ describe("FleetContext", () => {
onClick={() => onClick={() =>
add({ add({
name: "EU-WEST", name: "EU-WEST",
log_level: "warn", log_level: "warning",
canbus: { enabled: false }, canbus: { enabled: false },
}) })
} }
@@ -219,7 +219,7 @@ describe("FleetContext", () => {
onClick={() => onClick={() =>
update({ update({
name: "EU-WEST", name: "EU-WEST",
log_level: "warn", log_level: "warning",
canbus: { enabled: false }, canbus: { enabled: false },
}) })
} }
@@ -782,7 +782,7 @@ const expectedFleetsData = [
}, },
{ {
name: "US-CENTRAL", name: "US-CENTRAL",
log_level: "warn", log_level: "warning",
canbus: { canbus: {
enabled: false, enabled: false,
data_logger_enabled: false, data_logger_enabled: false,

View File

@@ -253,7 +253,7 @@ describe("VehicleContext", () => {
onClick={() => onClick={() =>
update({ update({
vin: "3C4PDCBG0ET127145", vin: "3C4PDCBG0ET127145",
log_level: "warn", log_level: "warning",
canbus: { enabled: false }, canbus: { enabled: false },
}) })
} }

View File

@@ -28,7 +28,7 @@ let fleets = [
}, },
{ {
name: "US-CENTRAL", name: "US-CENTRAL",
log_level: "warn", log_level: "warning",
canbus: { enabled: false, data_logger_enabled: false, max_mem_buffer_size: 0, max_disk_buffer_size: 0 }, canbus: { enabled: false, data_logger_enabled: false, max_mem_buffer_size: 0, max_disk_buffer_size: 0 },
vehicles: ["USCENTVIN12345678", "USCENTVIN12345679", "USCENTVIN12345670"] vehicles: ["USCENTVIN12345678", "USCENTVIN12345679", "USCENTVIN12345670"]
}, },

View File

@@ -248,7 +248,7 @@ exports[`FleetAddForm Render 1`] = `
class="PrivateSwitchBase-input-0" class="PrivateSwitchBase-input-0"
name="log-level-group" name="log-level-group"
type="radio" type="radio"
value="warn" value="warning"
/> />
<div <div
class="PrivateRadioButtonIcon-root-0" class="PrivateRadioButtonIcon-root-0"
@@ -282,7 +282,7 @@ exports[`FleetAddForm Render 1`] = `
<span <span
class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1" class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
> >
Warn Warning
</span> </span>
</label> </label>
<label <label

View File

@@ -129,7 +129,7 @@ const MainForm = () => {
<FormControlLabel value="trace" control={<Radio />} label="Trace" /> <FormControlLabel value="trace" control={<Radio />} label="Trace" />
<FormControlLabel value="debug" control={<Radio />} label="Debug" /> <FormControlLabel value="debug" control={<Radio />} label="Debug" />
<FormControlLabel value="info" control={<Radio />} label="Info" /> <FormControlLabel value="info" control={<Radio />} label="Info" />
<FormControlLabel value="warn" control={<Radio />} label="Warn" /> <FormControlLabel value="warning" control={<Radio />} label="Warning" />
<FormControlLabel value="error" control={<Radio />} label="Error" /> <FormControlLabel value="error" control={<Radio />} label="Error" />
<FormControlLabel value="critical" control={<Radio />} label="Critical" /> <FormControlLabel value="critical" control={<Radio />} label="Critical" />
</RadioGroup> </RadioGroup>

View File

@@ -304,7 +304,7 @@ exports[`FleetTable Render 1`] = `
<td <td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter" class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
> >
warn warning
</td> </td>
<td <td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter" class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"

View File

@@ -248,7 +248,7 @@ exports[`FleetUpdate Render 1`] = `
class="PrivateSwitchBase-input-0" class="PrivateSwitchBase-input-0"
name="log-level-group" name="log-level-group"
type="radio" type="radio"
value="warn" value="warning"
/> />
<div <div
class="PrivateRadioButtonIcon-root-0" class="PrivateRadioButtonIcon-root-0"
@@ -282,7 +282,7 @@ exports[`FleetUpdate Render 1`] = `
<span <span
class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1" class="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
> >
Warn Warning
</span> </span>
</label> </label>
<label <label

View File

@@ -167,7 +167,7 @@ const MainForm = () => {
<FormControlLabel value="trace" control={<Radio />} label="Trace" /> <FormControlLabel value="trace" control={<Radio />} label="Trace" />
<FormControlLabel value="debug" control={<Radio />} label="Debug" /> <FormControlLabel value="debug" control={<Radio />} label="Debug" />
<FormControlLabel value="info" control={<Radio />} label="Info" /> <FormControlLabel value="info" control={<Radio />} label="Info" />
<FormControlLabel value="warn" control={<Radio />} label="Warn" /> <FormControlLabel value="warning" control={<Radio />} label="Warning" />
<FormControlLabel value="error" control={<Radio />} label="Error" /> <FormControlLabel value="error" control={<Radio />} label="Error" />
<FormControlLabel <FormControlLabel
value="critical" value="critical"

View File

@@ -22,7 +22,7 @@ const fleets = [
}, },
{ {
name: "US-CENTRAL", name: "US-CENTRAL",
log_level: "warn", log_level: "warning",
canbus: { enabled: false, data_logger_enabled: false, max_mem_buffer_size: 0, max_disk_buffer_size: 0 }, canbus: { enabled: false, data_logger_enabled: false, max_mem_buffer_size: 0, max_disk_buffer_size: 0 },
vehicles: ["USCENTVIN12345678", "USCENTVIN12345679", "USCENTVIN12345670"] vehicles: ["USCENTVIN12345678", "USCENTVIN12345679", "USCENTVIN12345670"]
}, },