move request to the before on the station tests

这个提交包含在:
Patrick Burns 2024-04-07 19:25:23 -05:00
父节点 155537e99c
当前提交 3d5169bbdd
共有 2 个文件被更改,包括 6 次插入3 次删除

查看文件

@ -1,4 +1,10 @@
describe("Create station location", () => { describe("Create station location", () => {
before(() => {
cy.request({
method: "GET",
url: "/index.php/update/dxcc_entities",
}).wait(1000);
});
beforeEach(() => { beforeEach(() => {
cy.login(); cy.login();
}); });

查看文件

@ -79,8 +79,5 @@ rm -rf /install
echo "Replacement complete." echo "Replacement complete."
# Send a GET request to populate the dxcc_entities table
curl "${WEBSITE_URL}/index.php/update/dxcc_entities"
# Start Apache in the foreground # Start Apache in the foreground
exec apache2-foreground exec apache2-foreground